Skip to content

Commit 65533b8

Browse files
nebhalerobertroeser
authored andcommitted
Bintray Publish Version (#494)
Previously, an update to the build system forgot to include a flag to the Bintray publication of tags that used the tag value as the version being published. This change updates that Travis script to fix this oversight. In addition, a minor change was made to the Bintray configuration to match the tagging scheme used by the project.
1 parent 3dd4e00 commit 65533b8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

bintray.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey') &&
3838
version {
3939
name = project.version
4040
released = new Date()
41-
vcsTag = "v${project.version}"
41+
vcsTag = project.version
4242

4343
gpg {
4444
sign = true
@@ -59,4 +59,4 @@ if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey') &&
5959
}
6060
}
6161
}
62-
}
62+
}

ci/travis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ] && [ "$bin
1717

1818
echo -e "Building Tag $TRAVIS_REPO_SLUG/$TRAVIS_TAG"
1919
./gradlew \
20+
-Pversion="$TRAVIS_TAG" \
2021
-PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" \
2122
-PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" \
2223
build bintrayUpload --stacktrace

0 commit comments

Comments
 (0)