File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,14 @@ jobs:
3636 echo "PACKAGE_BASENAME=$(find "$(pwd)/dist/" -type f -name '*.tar.bz2' | xargs -n 1 basename)" >> $GITHUB_ENV
3737 echo "PACKAGE_PATH=$(find "$(pwd)/dist/" -type f -name '*.tar.bz2')" >> $GITHUB_ENV
3838 - name : " Compute values"
39- shell : bash
4039 run : |
4140 TAG_NAME="${{ inputs.tag }}"
4241 RELEASE_NAME="${{ inputs.release-name }}"
4342 RELEASE_BODY="${{ inputs.release-body }}"
4443 if [[ -z "${RELEASE_BODY}" && -f "CHANGELOG.md" ]]; then
4544 RELEASE_BODY="See [CHANGELOG.md](CHANGELOG.md) for changes details."
4645 fi
47- if [[ "$ {TAG_NAME}" =~ - (alpha|beta|rc)[0-9]*$ ]]; then
46+ if [[ $( echo $ {TAG_NAME} | grep -E "\- (alpha|beta|rc)[0-9]*$" ) ]];
4847 PRERELEASE="true"
4948 else
5049 PRERELEASE="false"
You can’t perform that action at this time.
0 commit comments