Skip to content

Commit 5ca7b95

Browse files
committed
Release v3.0.0
1 parent 691426a commit 5ca7b95

File tree

3 files changed

+17
-19
lines changed

3 files changed

+17
-19
lines changed

.github/workflows/publish-plugin.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,18 @@ on: [workflow_dispatch]
55
jobs:
66
publish:
77
runs-on: ubuntu-latest
8-
env:
9-
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
10-
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
118
steps:
12-
- name: Git checkout
13-
uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1410
- name: Set up JDK 17
15-
uses: actions/setup-java@v2
11+
uses: actions/setup-java@v3
1612
with:
17-
cache: gradle
18-
distribution: temurin
19-
java-version: 17
20-
- name: Create gradle.properties
21-
run: echo -e "gradle.publish.key=$GRADLE_PUBLISH_KEY\ngradle.publish.secret=$GRADLE_PUBLISH_SECRET" > gradle.properties
22-
- name: Build with Gradle
23-
run: ./gradlew build -x test publishPlugins
13+
java-version: '17'
14+
distribution: 'zulu'
15+
- name: Publish Gradle Plugins
16+
uses: gradle/gradle-build-action@v2
17+
with:
18+
arguments: |
19+
build
20+
publishPlugins
21+
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
22+
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ project.version.with {
2424
major = pluginVersionMajor as int
2525
minor = pluginVersionMinor as int
2626
patch = pluginVersionPatch as int
27-
if (hasProperty('pluginVersionLabel')) {
27+
if (project.hasProperty('pluginVersionLabel')) {
2828
preRelease = pluginVersionLabel
2929
}
3030
releaseBuild = pluginReleaseBuild
@@ -75,7 +75,6 @@ shadowJar {
7575

7676
gradlePlugin {
7777
website = vcsUrl = 'https://github.com/beryx/badass-jlink-plugin'
78-
7978
plugins {
8079
jlink {
8180
id = 'org.beryx.jlink'

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pluginVersionMajor = 2
2-
pluginVersionMinor = 27
1+
pluginVersionMajor = 3
2+
pluginVersionMinor = 0
33
pluginVersionPatch = 0
4-
# pluginVersionLabel = rc-1
5-
pluginReleaseBuild = false
4+
pluginVersionLabel = rc-1
5+
pluginReleaseBuild = true

0 commit comments

Comments
 (0)