|
27 | 27 | - name: Set the current release version |
28 | 28 | id: release_version |
29 | 29 | run: | |
30 | | - echo "Update grailsVersion to ${{steps.release_version.outputs.value}}" |
| 30 | + echo "Update grailsVersion to ${GITHUB_REF:11}" |
31 | 31 | sed -i "s/^grailsVersion.*$/grailsVersion\=${GITHUB_REF:11}/" gradle.properties |
| 32 | + sed -i "s/grailsVersion=${GITHUB_REF:11}-SNAPSHOT/grailsVersion\=${GITHUB_REF:11}/" grails-forge-core/src/test/groovy/org/grails/forge/feature/grails/GrailsGradlePluginSpec.groovy |
32 | 33 | echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT |
33 | 34 | - uses: stefanzweifel/git-auto-commit-action@v4.16.0 |
34 | 35 | with: |
|
49 | 50 | SECRING_FILE: ${{ secrets.SECRING_FILE }} |
50 | 51 | run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg |
51 | 52 | - name: Publish to Maven Central |
52 | | - if: false # Disabled until we have a new release |
53 | 53 | uses: gradle/gradle-build-action@v2 |
54 | 54 | env: |
55 | 55 | SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} |
|
71 | 71 | asset_name: grails-cli-${{ steps.release_version.outputs.value }}.zip |
72 | 72 | asset_content_type: application/zip |
73 | 73 | - name: Publish to Github Pages |
74 | | - if: success() && false # Disabled until we have a new release |
75 | 74 | uses: micronaut-projects/github-pages-deploy-action@master |
76 | 75 | env: |
77 | 76 | BETA: ${{ contains(steps.release_version.outputs.value, 'M') }} |
|
92 | 91 | run: | |
93 | 92 | echo "Setting new Grails snapshot version" |
94 | 93 | sed -i "s/^grailsVersion.*$/grailsVersion\=${{ steps.post_release.outputs.next_version }}-SNAPSHOT/" gradle.properties |
| 94 | + sed -i "s/grailsVersion=${GITHUB_REF:11}/grailsVersion\=${{ steps.post_release.outputs.next_version }}-SNAPSHOT/" grails-forge-core/src/test/groovy/org/grails/forge/feature/grails/GrailsGradlePluginSpec.groovy |
95 | 95 | - uses: stefanzweifel/git-auto-commit-action@v4.16.0 |
96 | 96 | continue-on-error: true |
97 | 97 | with: |
@@ -375,7 +375,6 @@ jobs: |
375 | 375 | asset_content_type: application/zip |
376 | 376 | sdkman: |
377 | 377 | name: Release to SDKMAN! |
378 | | - if : false # Disabled until we have a new release |
379 | 378 | runs-on: ubuntu-latest |
380 | 379 | env: |
381 | 380 | GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} |
|
0 commit comments