Fixing bug for beta releases (#185)

This commit is contained in:
Arpit Mohan 2020-07-28 18:52:59 +05:30 committed by GitHub
parent 7eda0f0201
commit ad41063944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,10 +127,10 @@ jobs:
# If the tag has the string "beta", then mark the Github release as a pre-release # If the tag has the string "beta", then mark the Github release as a pre-release
- name: Get the version - name: Get the version
id: get_release id: get_prerelease
run: | run: |
STATUS=false STATUS=false
if [[ ! ${{steps.get_version.outputs.tag}} == *"beta"* ]]; then if [[ ${{steps.get_version.outputs.tag}} == *"beta"* ]]; then
STATUS=true STATUS=true
fi fi
@ -145,5 +145,5 @@ jobs:
tag_name: ${{ github.ref }} tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }} release_name: Release ${{ github.ref }}
draft: false draft: false
prerelease: ${{steps.get_release.outputs.status}} prerelease: ${{steps.get_prerelease.outputs.status}}