Skip to content

Commit ca99297

Browse files
committed
More GH actions setup
1 parent 04e3270 commit ca99297

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/cipublish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
1717
if [[ "${1:-}" == "--help" ]]; then
1818
usage
1919
else
20-
if [[ -n "${CIRCLE_TAG}" ]]; then
20+
if [[ -n "${BUILD_NUMBER}" ]]; then
2121
echo "Publishing artifacts to Sonatype"
22-
./sbt ";++${SCALA_VERSION:-2.11.12};sonatypeOpen ${CIRCLE_BUILD_NUM};publish;sonatypeRelease"
22+
./sbt ";++${SCALA_VERSION:-2.12.7};sonatypeOpen ${BUILD_NUMBER};publish;sonatypeRelease"
2323
else
2424
echo "Publishing artifacts to default location"
25-
./sbt "++${SCALA_VERSION:-2.11.12}" publish
25+
./sbt "++${SCALA_VERSION:-2.12.7}" publish
2626
fi
2727
fi
2828
fi

0 commit comments

Comments
 (0)