We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e3270 commit ca99297Copy full SHA for ca99297
scripts/cipublish
@@ -17,12 +17,12 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
17
if [[ "${1:-}" == "--help" ]]; then
18
usage
19
else
20
- if [[ -n "${CIRCLE_TAG}" ]]; then
+ if [[ -n "${BUILD_NUMBER}" ]]; then
21
echo "Publishing artifacts to Sonatype"
22
- ./sbt ";++${SCALA_VERSION:-2.11.12};sonatypeOpen ${CIRCLE_BUILD_NUM};publish;sonatypeRelease"
+ ./sbt ";++${SCALA_VERSION:-2.12.7};sonatypeOpen ${BUILD_NUMBER};publish;sonatypeRelease"
23
24
echo "Publishing artifacts to default location"
25
- ./sbt "++${SCALA_VERSION:-2.11.12}" publish
+ ./sbt "++${SCALA_VERSION:-2.12.7}" publish
26
fi
27
28
0 commit comments