Skip to content

Commit

Permalink
CI: fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
principis committed Apr 14, 2021
1 parent f4bbd73 commit 3f772cd
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/${${GITHUB_REF%-*}:11}.0/g" "scripts/windows/install.nsi"

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

0 comments on commit 3f772cd

Please sign in to comment.