Skip to content

Commit

Permalink
Merge pull request #869 from dscho/work-around-msys2's-gcc-upgrade
Browse files Browse the repository at this point in the history
Work around msys2's recent GCC upgrade
  • Loading branch information
dscho authored May 12, 2024
2 parents cdb0f0f + 3ba5a65 commit 28ded95
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,17 @@ export async function getViaGit(
per_page: 1
})
head_sha = info.data.workflow_runs[0].head_sha
/*
* There was a GCC upgrade to v14.1 that broke the build with `DEVELOPER=1`,
* and `ci-artifacts` was not updated to test-build with `DEVELOPER=1` (this
* was fixed in https://github.com/git-for-windows/git-sdk-64/pull/83).
*
* Work around that by forcing the incorrectly-passing revision back to the
* last one before that GCC upgrade.
*/
if (head_sha === '5f6ba092f690c0bbf84c7201be97db59cdaeb891') {
head_sha = 'e37e3f44c1934f0f263dabbf4ed50a3cfb6eaf71'
}
} else {
const info = await octokit.repos.getBranch({
owner,
Expand Down

0 comments on commit 28ded95

Please sign in to comment.