From 04c1033021252dd7322a36a1ac78a28b601f04d4 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 21 Dec 2023 12:15:45 +0100 Subject: [PATCH] ci(github): Enable auto-release of artifacts from staging to production 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 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20ccf0712b191..171b6617247aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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