diff --git a/gradle.properties b/gradle.properties index 0bbd4b7..3b3110c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ group=io.tehuti archivesBaseName=tehuti -version=0.9.0 +version=0.9.1 signing.enabled=false signing.keyId= diff --git a/scripts/publishToJfrog.sh b/scripts/publishToJfrog.sh index 91566c2..39d8321 100644 --- a/scripts/publishToJfrog.sh +++ b/scripts/publishToJfrog.sh @@ -6,15 +6,15 @@ then echo "script must be run from root project folder, not $PWD" exit 1 else - echo "we are in $PWD and tag is $TRAVIS_TAG" + echo "we are in $PWD and tag is $SOURCE_TAG" - if [[ $TRAVIS_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] + if [[ $SOURCE_TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] then - echo "tag $TRAVIS_TAG looks like a semver so proceeding with jfrog publish" + echo "tag $SOURCE_TAG looks like a semver so proceeding with jfrog publish" git status git describe --tags ./gradlew publishAllPublicationsToLinkedInJfrogRepository else - echo "tag $TRAVIS_TAG is NOT a valid semantic version (x.y.z) so not publishing to jfrog" + echo "tag $SOURCE_TAG is NOT a valid semantic version (x.y.z) so not publishing to jfrog" fi fi