Skip to content

Commit c252504

Browse files
committed
Fix releasing from CI
This is the problem with trying to work when you're sick :(
1 parent dff7838 commit c252504

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: japgolly/[email protected]
4747

4848
- name: Release
49-
run: echo sbt ci-release
49+
run: cd library && sbt ci-release
5050
env:
5151
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
5252
PGP_SECRET: ${{ secrets.PGP_SECRET }}

library/project/Lib.scala

+3-12
Original file line numberDiff line numberDiff line change
@@ -88,19 +88,10 @@ object Lib {
8888

8989
def publicationSettings: PE =
9090
_.settings(
91-
pomExtra :=
92-
<scm>
93-
<connection>scm:git:github.com/japgolly/{ghProject}</connection>
94-
<developerConnection>scm:git:git@github.com:japgolly/{ghProject}.git</developerConnection>
95-
<url>github.com:japgolly/{ghProject}.git</url>
96-
</scm>
97-
<developers>
98-
<developer>
99-
<id>japgolly</id>
100-
<name>David Barri</name>
101-
</developer>
102-
</developers>
91+
developers := List(
92+
Developer("japgolly", "David Barri", "[email protected]", url("https://japgolly.github.io/japgolly/")),
10393
)
94+
)
10495

10596
def sourceMapsToGithub(ghProject: String): PE =
10697
p => p.settings(

0 commit comments

Comments
 (0)