Skip to content

Commit b325418

Browse files
committed
release.sh changes for 1.14.1-RC2
1 parent 9af9bbf commit b325418

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

release.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,18 @@ case "$1" in
5656
*) echo "unknown argument: $1"; usage;;
5757
esac
5858

59+
# first we clean everything to avoid stale artifacts.
60+
runsbt "+ clean"
61+
5962
# step 4a: jvm release
6063
runsbt "+ jvm/$CMD"
6164

62-
# step 4b: js releases
65+
# step 4b: js releases (clean versions)
6366
SCALAJS_VERSION="0.6.28" runsbt "+ js/$CMD"
67+
runsbt "+ js/clean"
6468
SCALAJS_VERSION="1.0.0-M8" runsbt "+ js/$CMD"
6569

66-
# step 4c: native releases
70+
# step 4c: native releases (clean versions)
6771
SCALANATIVE_VERSION="0.3.9" runsbt "+ native/$CMD"
72+
runsbt "+ native/clean"
6873
SCALANATIVE_VERSION="0.4.0-M2" runsbt "+ native/$CMD"

0 commit comments

Comments
 (0)