We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64243d0 commit f94f6bcCopy full SHA for f94f6bc
.build.sh
@@ -65,7 +65,7 @@ function publish {
65
if [[ "$CI_TAG" =~ ^v.*$ ]] ; then
66
csbt sonatypeRelease || exit 1
67
fi
68
-
+
69
}
70
71
function init {
@@ -77,7 +77,7 @@ function init {
77
78
79
export CI_BRANCH=${BUILD_SOURCEBRANCHNAME}
80
- export CI_TAG=${BUILD_SOURCEBRANCHNAME}
+ export CI_TAG=`git describe --tags | grep v | head -n 1`
81
export CI_BUILD_NUMBER=${BUILD_BUILDID}
82
export CI_COMMIT=${BUILD_SOURCEVERSION}
83
0 commit comments