Skip to content

Commit

Permalink
Update Release Workflow (#12675)
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Aug 25, 2022
1 parent 8c58c2e commit 0ac38c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ jobs:
- name: Grails SDK Release
if: success()
run: |
if $BETA ; then
if $MINOR ; then
(set -x; ./gradlew sdkMinorRelease)
else
( set -x; ./gradlew sdkMajorRelease)
fi
env:
BETA: ${{ contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
MINOR: ${{ startsWith(steps.release_version.outputs.release_version, '3.3') || startsWith(steps.release_version.outputs.release_version, '4.1.') || contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}

0 comments on commit 0ac38c6

Please sign in to comment.