From b9aa1f3880f218076d17e557c7bb6b8fcfbc9a2d Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Sun, 8 Jan 2017 16:14:57 -0500 Subject: [PATCH] Get the latest version automatically --- bintray-template.json | 2 +- make-bintray-json.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bintray-template.json b/bintray-template.json index 09aab2a6..c03a9c70 100644 --- a/bintray-template.json +++ b/bintray-template.json @@ -6,7 +6,7 @@ }, "version": { - "name": "1.0.6+gGITREV" + "name": "VERSION" }, "files": diff --git a/make-bintray-json.sh b/make-bintray-json.sh index 54bb95ce..c155b0bb 100755 --- a/make-bintray-json.sh +++ b/make-bintray-json.sh @@ -1,2 +1,2 @@ #!/bin/sh -sed -e s/BRANCHNAME/${TRAVIS_BRANCH}/ -e s/GITREV/$(git rev-parse --short HEAD)/ bintray-template.json > bintray.json +sed -e s/BRANCHNAME/${TRAVIS_BRANCH}/ -e s/VERSION/$(git describe --tags)/ bintray-template.json > bintray.json