Skip to content

Commit 5630ad4

Browse files
authored
fix: removed 'v' version prefix from Windows installer
1 parent a52a442 commit 5630ad4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/package/package-all.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ function build_setup() {
6868
exit 1
6969
fi
7070

71-
env AW_VERSION=$version "$innosetupdir/iscc.exe" scripts/package/activitywatch-setup.iss
71+
# Windows installer version should not include 'v' prefix, see: https://github.com/microsoft/winget-pkgs/pull/17564
72+
version_no_prefix="$(echo $version | sed -e 's/^v//')"
73+
env AW_VERSION=$version_no_prefix "$innosetupdir/iscc.exe" scripts/package/activitywatch-setup.iss
7274
mv dist/activitywatch-setup.exe dist/$filename
7375
echo "Setup built!"
7476
}

0 commit comments

Comments
 (0)