From c252504591191ae5032251801a05b2ef82ae66df Mon Sep 17 00:00:00 2001 From: David Barri Date: Tue, 12 Apr 2022 17:27:19 +1000 Subject: [PATCH] Fix releasing from CI This is the problem with trying to work when you're sick :( --- .github/workflows/release.yml | 2 +- library/project/Lib.scala | 15 +++------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 56e85c59d..4324a0df5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: uses: japgolly/setup-everything-scala@v3.1 - name: Release - run: echo sbt ci-release + run: cd library && sbt ci-release env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} diff --git a/library/project/Lib.scala b/library/project/Lib.scala index 0480d45e0..7f436c999 100644 --- a/library/project/Lib.scala +++ b/library/project/Lib.scala @@ -88,19 +88,10 @@ object Lib { def publicationSettings: PE = _.settings( - pomExtra := - - scm:git:github.com/japgolly/{ghProject} - scm:git:git@github.com:japgolly/{ghProject}.git - github.com:japgolly/{ghProject}.git - - - - japgolly - David Barri - - + developers := List( + Developer("japgolly", "David Barri", "japgolly@gmail.com", url("https://japgolly.github.io/japgolly/")), ) + ) def sourceMapsToGithub(ghProject: String): PE = p => p.settings(