Skip to content

Commit

Permalink
This might actually do a release, minus the git commits...
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyley committed Dec 2, 2023
1 parent eae9b9c commit b2139f6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/isolated-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,23 @@ jobs:
path: /tmp/funky
key: signed-${{ github.run_id }}-${{ github.run_attempt }}
fail-on-cache-miss: true
- name: Create tiny sbt project to perform Sonatype upload
run: |
cat <<EOT > build.sbt
sonatypeBundleDirectory := new File("/tmp/funky")
sonatypeProfileName := "com.gu"
EOT
mkdir project
echo 'addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")' > project/plugins.sbt
echo 'sbt.version = 1.9.7' > project/build.properties
ls -lR .
- uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 17
cache: sbt
- name: Check contents
- name: Release
run: |
ls -lR /tmp/funky
sbt "sonatypeBundleRelease"
3 changes: 3 additions & 0 deletions release-gunk/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sonatypeBundleDirectory := new File("/tmp/funky")

sonatypeProfileName := "com.gu"
1 change: 1 addition & 0 deletions release-gunk/project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version = 1.9.7
1 change: 1 addition & 0 deletions release-gunk/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "1.0.14-SNAPSHOT"
ThisBuild / version := "1.0.18"

0 comments on commit b2139f6

Please sign in to comment.