Skip to content

Commit

Permalink
Release v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
airsquared committed Sep 25, 2023
1 parent 691426a commit 5ca7b95
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/publish-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ on: [workflow_dispatch]
jobs:
publish:
runs-on: ubuntu-latest
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
steps:
- name: Git checkout
uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
cache: gradle
distribution: temurin
java-version: 17
- name: Create gradle.properties
run: echo -e "gradle.publish.key=$GRADLE_PUBLISH_KEY\ngradle.publish.secret=$GRADLE_PUBLISH_SECRET" > gradle.properties
- name: Build with Gradle
run: ./gradlew build -x test publishPlugins
java-version: '17'
distribution: 'zulu'
- name: Publish Gradle Plugins
uses: gradle/gradle-build-action@v2
with:
arguments: |
build
publishPlugins
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ project.version.with {
major = pluginVersionMajor as int
minor = pluginVersionMinor as int
patch = pluginVersionPatch as int
if (hasProperty('pluginVersionLabel')) {
if (project.hasProperty('pluginVersionLabel')) {
preRelease = pluginVersionLabel
}
releaseBuild = pluginReleaseBuild
Expand Down Expand Up @@ -75,7 +75,6 @@ shadowJar {

gradlePlugin {
website = vcsUrl = 'https://github.com/beryx/badass-jlink-plugin'

plugins {
jlink {
id = 'org.beryx.jlink'
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pluginVersionMajor = 2
pluginVersionMinor = 27
pluginVersionMajor = 3
pluginVersionMinor = 0
pluginVersionPatch = 0
# pluginVersionLabel = rc-1
pluginReleaseBuild = false
pluginVersionLabel = rc-1
pluginReleaseBuild = true

0 comments on commit 5ca7b95

Please sign in to comment.