Skip to content

Commit 00e8e4e

Browse files
committed
Fix bump version script
1 parent 60a8d3b commit 00e8e4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

travis-build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ EOL
1717
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then
1818
# if [ "${RELEASE}" = "true" ]; then
1919
echo "Deploying release to Bintray"
20-
VERSION=$(gradle properties -q | grep "version:" | grep -v "kotlin_version:" | awk '{print $2}' | tr -d '[:space:]')
21-
NEXT_VERSION="${VERSION}b$(date +%Y%m%d%H%M)"
20+
NEXT_VERSION="$(gradle properties -q | grep "version:" | grep -v "kotlin_version:" | awk '{print $2}' | tr -d '[:space:]')b$(date +%Y%m%d%H%M)"
2221
sed -i -E "s/^version(\s)?=.*/version=${NEXT_VERSION}/" gradle.properties
2322
saveGitCredentials
2423
./gradlew clean assemble && ./gradlew check --info && ./gradlew bintrayUpload -x check --info

0 commit comments

Comments
 (0)