Skip to content

Commit

Permalink
Merge pull request #29 from guardian/fix-description-identifier-of-st…
Browse files Browse the repository at this point in the history
…aging-repository

Fix Sonatype session name so it's not identical with each release
  • Loading branch information
rtyley committed Mar 7, 2024
2 parents a56d12f + 396f81d commit e5c513a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/reusable-release.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e5c513a

Please sign in to comment.