Skip to content

Commit

Permalink
Trim quotes of parsed version string
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKotato committed May 15, 2020
1 parent ca9b358 commit ab2c801
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/win-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
_BETA_SWITCH=""
_VERSIONSTRFULL=${_VERSIONSTR}
test "$_ISBETA" == "true" && _BETA_SWITCH=" -beta"
test $(awk -F"." '{print NF-1}' <<< "${_VERSIONSTR}") < 2 && _VERSIONSTRFULL="${_VERSIONSTR}.0"
test $(awk -F"." '{print NF-1}' <<< "${_VERSIONSTR}") < 2 && _VERSIONSTRFULL="${_VERSIONSTR:1:-1}.0"
echo "::set-env name=PACKER_VERSION::${_VERSION}"
echo "::set-env name=PACKER_BETA::${_BETA_SWITCH}"
echo "::set-env name=INSTALLER_VERSION::${_VERSIONSTR}"
echo "::set-env name=INSTALLER_VERSION_FULL::${_VERSIONSTRFULL}"
echo "::set-env name=INSTALLER_VERSION::${_VERSIONSTR:1:-1}"
echo "::set-env name=INSTALLER_VERSION_FULL::${_VERSIONSTRFULL:1:-1}"
- name: Clone scripts.
if: >
Expand Down

0 comments on commit ab2c801

Please sign in to comment.