Skip to content

Commit 6a16710

Browse files
committed
Release v3.0.0
1 parent 5ca7b95 commit 6a16710

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.github/workflows/build-jlink-plugin.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,23 @@ jobs:
2626
env: # Or as an environment variable
2727
GRGIT_USER: ${{ secrets.GRGIT_USER }}
2828
run: chmod +x publish.sh && ./publish.sh
29+
release:
30+
name: Publish to the Gradle Plugin Portal
31+
runs-on: ubuntu-latest
32+
needs: build
33+
if: "startsWith(github.event.head_commit.message, 'Release ')"
34+
steps:
35+
- uses: actions/checkout@v4
36+
- name: Set up JDK 17
37+
uses: actions/setup-java@v3
38+
with:
39+
java-version: '17'
40+
distribution: 'zulu'
41+
- name: Publish Gradle Plugins
42+
uses: gradle/gradle-build-action@v2
43+
with:
44+
arguments: |
45+
assemble
46+
publishPlugins
47+
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
48+
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}

.github/workflows/publish-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: gradle/gradle-build-action@v2
1717
with:
1818
arguments: |
19-
build
19+
assemble
2020
publishPlugins
2121
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
2222
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pluginVersionMajor = 3
22
pluginVersionMinor = 0
33
pluginVersionPatch = 0
4-
pluginVersionLabel = rc-1
4+
#pluginVersionLabel = rc-1
55
pluginReleaseBuild = true

0 commit comments

Comments
 (0)