Skip to content

Commit

Permalink
Fixes up workflow and publish config to automatically release.
Browse files Browse the repository at this point in the history
  • Loading branch information
rharter committed Sep 16, 2024
1 parent 82c35be commit 65f6eec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: gradle/actions/setup-gradle@v4

- name: Publish release
run: ./gradlew -p focus-gradle-plugin clean publishAndReleaseToMavenCentral --no-daemon --no-parallel --no-configuration-cache --stacktrace
run: ./gradlew -p focus-gradle-plugin clean publishToMavenCentral --no-daemon --no-parallel --no-configuration-cache --stacktrace
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion focus-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ gradlePlugin {
}

mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
publishToMavenCentral(SonatypeHost.S01, true)
signAllPublications()
}

Expand Down

0 comments on commit 65f6eec

Please sign in to comment.