chore: Strip -RC postfix from version when passing to NSIS
This commit is contained in:
@@ -80,7 +80,8 @@ jobs:
|
||||
| jq -r '.[] | if .tag_name == "'$release'" then . else empty end | .upload_url' \
|
||||
| tail -n1)
|
||||
echo ::set-output name=upload_url::$upload_url
|
||||
echo ::set-output name=nsis_version::${release#v}
|
||||
no_rc_release=${release%%-RC*}
|
||||
echo ::set-output name=nsis_version::${no_rc_release#v} # NSIS version only accepts \d+.\d+.\d+
|
||||
unversioned_binary=${{ matrix.binary }}_setup.exe
|
||||
echo ::set-output name=nsis_installer_name::${unversioned_binary//kapow_/kapow_${release#v}_}
|
||||
- name: Create Windows installer
|
||||
|
||||
Reference in New Issue
Block a user