Skip to content

Commit

Permalink
CI: fix verion substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
principis committed Apr 14, 2021
1 parent 3f772cd commit 7060c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: sudo chown -R $(whoami) /usr/share/nsis/Plugins/

- name: Set version
run: sed -i "s/VERSION_PLACEHOLDER/${${GITHUB_REF%-*}:11}.0/g" "scripts/windows/install.nsi"
run: sed -i "s/VERSION_PLACEHOLDER/$(echo $GITHUB_REF | cut -d'-' -f1 | cut -c12-).0/g" "scripts/windows/install.nsi"

- name: Create nsis installer
uses: joncloud/[email protected]
Expand Down

0 comments on commit 7060c8b

Please sign in to comment.