Skip to content

Commit

Permalink
Merge pull request #55 from rimrul/bump-arm64
Browse files Browse the repository at this point in the history
bump-version: create url files for arm64 artifacts
  • Loading branch information
dscho authored Nov 28, 2024
2 parents e78b664 + 5333041 commit 199b310
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bump-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ var updateVersion = (version, tag, timestamp, url) => {
fs.writeFileSync('latest-version.txt', version);
fs.writeFileSync('latest-tag.txt', tag);
const urlPrefix = `https://github.com/git-for-windows/git/releases/download/${tag}`;
for (const bitness of ['64', '32']) {
fs.writeFileSync(`latest-${bitness}-bit-installer.url`,
`${urlPrefix}/Git-${version}-${bitness}-bit.exe`);
fs.writeFileSync(`latest-${bitness}-bit-portable-git.url`,
`${urlPrefix}/PortableGit-${version}-${bitness}-bit.7z.exe`);
fs.writeFileSync(`latest-${bitness}-bit-mingit.url`,
`${urlPrefix}/MinGit-${version}-${bitness}-bit.zip`);
for (const suffix of ['64-bit', '32-bit', 'arm64']) {
fs.writeFileSync(`latest-${suffix}-installer.url`,
`${urlPrefix}/Git-${version}-${suffix}.exe`);
fs.writeFileSync(`latest-${suffix}-portable-git.url`,
`${urlPrefix}/PortableGit-${version}-${suffix}.7z.exe`);
fs.writeFileSync(`latest-${suffix}-mingit.url`,
`${urlPrefix}/MinGit-${version}-${suffix}.zip`);
}
fs.readFile('index.html', 'utf8', (err, data) => {
if (err)
Expand Down
1 change: 1 addition & 0 deletions latest-arm64-installer.url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/Git-2.47.1-arm64.exe
1 change: 1 addition & 0 deletions latest-arm64-mingit.url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/MinGit-2.47.1-arm64.zip
1 change: 1 addition & 0 deletions latest-arm64-portable-git.url
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/PortableGit-2.47.1-arm64.7z.exe

0 comments on commit 199b310

Please sign in to comment.