Skip to content

Commit

Permalink
fix: removed 'v' version prefix from Windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare authored Jun 15, 2021
1 parent a52a442 commit 5630ad4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/package/package-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ function build_setup() {
exit 1
fi

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

0 comments on commit 5630ad4

Please sign in to comment.