Skip to content

Commit 4e8f85e

Browse files
committed
new publish attempt. use projectPrefix in build.sh
- that should make it unnecessary to declare `skip in publish` for each unpublished sub-module and root in build.sbt
1 parent a4faa2c commit 4e8f85e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

build.sbt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
publish / skip := true // root project
2-
31
lazy val scalaTestVersion = "3.2.3"
42

53
lazy val commonSettings = Seq(
@@ -39,7 +37,6 @@ lazy val examples = project.in(file("examples"))
3937
scalaVersion := (swing / scalaVersion).value,
4038
run / fork := true,
4139
fork := true,
42-
publish / skip := true,
4340
)
4441

4542
lazy val uitest = project.in(file("uitest"))
@@ -49,5 +46,4 @@ lazy val uitest = project.in(file("uitest"))
4946
scalaVersion := (swing / scalaVersion).value,
5047
run / fork := true,
5148
fork := true,
52-
publish / skip := true,
5349
)

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ isReleaseJob() {
2626
}
2727

2828
if [[ "$SCALAJS_VERSION" == "" ]]; then
29-
projectPrefix=""
29+
projectPrefix="swing/"
3030
else
31-
projectPrefix=""
31+
projectPrefix="swingJS/"
3232
fi
3333

3434
verPat="[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)?"

0 commit comments

Comments
 (0)