Skip to content

Commit

Permalink
Update Release Workflow (#12675)
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl authored Aug 25, 2022
1 parent 321bf90 commit bbad95a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,19 @@ jobs:
with:
workflow: Release
repo: grails/grails-static-website
ref: ${{ steps.extract_branch.outputs.value }}
ref: master
token: ${{ secrets.GH_TOKEN }}
inputs: ${{ steps.grails_docs_release_message.outputs.value }}
- 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 }}
- name: Cleanup Gradle Cache
Expand Down

0 comments on commit bbad95a

Please sign in to comment.