Skip to content

Commit

Permalink
Fix releasing from CI
Browse files Browse the repository at this point in the history
This is the problem with trying to work when you're sick :(
  • Loading branch information
japgolly committed Apr 12, 2022
1 parent dff7838 commit c252504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: japgolly/[email protected]

- name: Release
run: echo sbt ci-release
run: cd library && sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
Expand Down
15 changes: 3 additions & 12 deletions library/project/Lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,10 @@ object Lib {

def publicationSettings: PE =
_.settings(
pomExtra :=
<scm>
<connection>scm:git:github.com/japgolly/{ghProject}</connection>
<developerConnection>scm:git:git@github.com:japgolly/{ghProject}.git</developerConnection>
<url>github.com:japgolly/{ghProject}.git</url>
</scm>
<developers>
<developer>
<id>japgolly</id>
<name>David Barri</name>
</developer>
</developers>
developers := List(
Developer("japgolly", "David Barri", "[email protected]", url("https://japgolly.github.io/japgolly/")),
)
)

def sourceMapsToGithub(ghProject: String): PE =
p => p.settings(
Expand Down

0 comments on commit c252504

Please sign in to comment.