aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/release_ppa.sh
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-23 22:45:08 +0800
committerchriseth <c@ethdev.com>2016-08-26 16:14:44 +0800
commit4588eda622c9ef2cb62252ec12ea7bb9ae057bd1 (patch)
treebb88177ba342758d775703afd0fe9a1ab8de1921 /scripts/release_ppa.sh
parent54ab787b83275fd374b3951ec3efa577c954bd1a (diff)
downloaddexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar.gz
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar.zst
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.zip
Store commit hash and handle prerelease vor all automation tools.
Diffstat (limited to 'scripts/release_ppa.sh')
-rwxr-xr-xscripts/release_ppa.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/release_ppa.sh b/scripts/release_ppa.sh
index 2fd286fd..8e9dc282 100755
--- a/scripts/release_ppa.sh
+++ b/scripts/release_ppa.sh
@@ -56,13 +56,13 @@ commithash=`git rev-parse --short HEAD`
committimestamp=`git show --format=%ci HEAD | head -n 1`
commitdate=`git show --format=%ci HEAD | head -n 1 | cut - -b1-10`
-# TODO store the commit hash in a file so that the build info mechanism can pick it up even without git
-
+echo "$commithash" > commit_hash.txt
if [ $branch = develop ]
then
debversion="$version-nightly-$commitdate-$commithash"
else
debversion="$version"
+ echo -n > prerelease.txt # proper release
fi
# gzip will create different tars all the time and we are not allowed