Skip to content

Commit

Permalink
More GH actions setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jpolchlo committed Dec 20, 2021
1 parent 04e3270 commit ca99297
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/cipublish
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
if [[ "${1:-}" == "--help" ]]; then
usage
else
if [[ -n "${CIRCLE_TAG}" ]]; then
if [[ -n "${BUILD_NUMBER}" ]]; then
echo "Publishing artifacts to Sonatype"
./sbt ";++${SCALA_VERSION:-2.11.12};sonatypeOpen ${CIRCLE_BUILD_NUM};publish;sonatypeRelease"
./sbt ";++${SCALA_VERSION:-2.12.7};sonatypeOpen ${BUILD_NUMBER};publish;sonatypeRelease"
else
echo "Publishing artifacts to default location"
./sbt "++${SCALA_VERSION:-2.11.12}" publish
./sbt "++${SCALA_VERSION:-2.12.7}" publish
fi
fi
fi

0 comments on commit ca99297

Please sign in to comment.