From 6a167102dd6821f86b8ae318451f55c3dc94e83f Mon Sep 17 00:00:00 2001 From: airsquared <36649395+airsquared@users.noreply.github.com> Date: Sun, 24 Sep 2023 18:57:58 -0700 Subject: [PATCH] Release v3.0.0 --- .github/workflows/build-jlink-plugin.yml | 20 ++++++++++++++++++++ .github/workflows/publish-plugin.yml | 2 +- gradle.properties | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-jlink-plugin.yml b/.github/workflows/build-jlink-plugin.yml index 7828045f..d217abb9 100644 --- a/.github/workflows/build-jlink-plugin.yml +++ b/.github/workflows/build-jlink-plugin.yml @@ -26,3 +26,23 @@ jobs: env: # Or as an environment variable GRGIT_USER: ${{ secrets.GRGIT_USER }} run: chmod +x publish.sh && ./publish.sh + release: + name: Publish to the Gradle Plugin Portal + runs-on: ubuntu-latest + needs: build + if: "startsWith(github.event.head_commit.message, 'Release ')" + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'zulu' + - name: Publish Gradle Plugins + uses: gradle/gradle-build-action@v2 + with: + arguments: | + assemble + publishPlugins + -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} + -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} diff --git a/.github/workflows/publish-plugin.yml b/.github/workflows/publish-plugin.yml index 01adc789..49a5b56f 100644 --- a/.github/workflows/publish-plugin.yml +++ b/.github/workflows/publish-plugin.yml @@ -16,7 +16,7 @@ jobs: uses: gradle/gradle-build-action@v2 with: arguments: | - build + assemble publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }} diff --git a/gradle.properties b/gradle.properties index 5c44d889..bfa7222b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ pluginVersionMajor = 3 pluginVersionMinor = 0 pluginVersionPatch = 0 -pluginVersionLabel = rc-1 +#pluginVersionLabel = rc-1 pluginReleaseBuild = true