Skip to content

Commit a3f219b

Browse files
authored
innosetup version script: use GitHub Releases URL (#173)
As of v6.7.3, it seems that the previous download URL format [no longer works](https://github.com/git-for-windows/git-for-windows-automation/actions/runs/26465206376/job/77923505703), so we have to adapt. [Here](https://github.com/git-for-windows/git-for-windows-automation/actions/runs/26466242248/job/77927187668) is a run that proves that this change works (it opened git-for-windows/build-extra#702).
2 parents 2dd1ae1 + 2025c62 commit a3f219b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

update-scripts/version/innosetup

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/sh
22

33
set -x &&
4-
url="https://jrsoftware.org/download.php/innosetup-$1.exe" &&
4+
version_underscores="$(echo "$1" | tr . _)" &&
5+
url="https://github.com/jrsoftware/issrc/releases/download/is-$version_underscores/innosetup-$1.exe" &&
56
curl -# -LR -D curl.log -o is.exe "$url" &&
67
cat curl.log &&
78
grep 'HTTP/.* 200' curl.log &&

0 commit comments

Comments
 (0)