Skip to content

Commit 2025c62

Browse files
committed
innosetup version script: use GitHub Releases URL
Inno Setup downloads have moved from jrsoftware.org to GitHub Releases. The old URL at https://jrsoftware.org/download.php/ now returns 404 for current versions (e.g. 6.7.3), causing the `/open pr` workflow to fail. The new URL is on GitHub at https://github.com/jrsoftware/issrc/releases/ and encodes the version with underscores in the tag name (e.g. `is-6_7_3`) while keeping dots in the filename (e.g. `innosetup-6.7.3.exe`). Assisted-by: Opus 4.6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 2dd1ae1 commit 2025c62

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)