From 396f81d55b4938a893a36fdb0b251b0541aec979 Mon Sep 17 00:00:00 2001 From: Roberto Tyley Date: Wed, 6 Mar 2024 11:59:55 +0000 Subject: [PATCH] Fix description identifier of staging repository See also "What about the weird '0.1.0-SNAPSHOT' in the logs?" in https://github.com/guardian/marley/pull/102#issuecomment-1862737442 --- .github/workflows/reusable-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml index a8e210f..96286e3 100644 --- a/.github/workflows/reusable-release.yml +++ b/.github/workflows/reusable-release.yml @@ -352,7 +352,7 @@ jobs: sonatype-release: name: 🔒 Sonatype Release - needs: sign + needs: [push-release-commit, sign] runs-on: ubuntu-latest steps: - uses: actions/cache/restore@v4 @@ -366,11 +366,12 @@ jobs: sonatypeBundleDirectory := new File("$LOCAL_ARTIFACTS_STAGING_PATH") sonatypeProfileName := "${{ inputs.SONATYPE_PROFILE_NAME }}" sonatypeCredentialHost := "${{ inputs.SONATYPE_CREDENTIAL_HOST }}" + version := "${{ needs.push-release-commit.outputs.release_version }}" EndOfFile mkdir project - echo 'addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")' > project/plugins.sbt - echo 'sbt.version = 1.9.8' > project/build.properties + echo 'addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.10.0")' > project/plugins.sbt + echo 'sbt.version = 1.9.9' > project/build.properties ls -lR . - uses: actions/setup-java@v4