Skip to content

Commit

Permalink
ci(github): Enable auto-release of artifacts from staging to production
Browse files Browse the repository at this point in the history
Publishing already closes the staging repository at Sonatype, but
releasing to production requires an extra step, see [1].

[1]: https://vanniktech.github.io/gradle-maven-publish-plugin/central/#__tabbed_6_3

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Dec 21, 2023
1 parent 36e82ba commit 04c1033
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_SONATYPE_AUTOMATIC_RELEASE: true
run: ./gradlew publishAllPublicationsToMavenCentralRepository
- name: Build ORT Distributions
run: ./gradlew :cli:distZip :helper-cli:distZip
Expand Down

0 comments on commit 04c1033

Please sign in to comment.