diff options
author | chriseth <c@ethdev.com> | 2016-09-15 07:47:16 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-09-15 07:47:37 +0800 |
commit | af86bfb07df801d4b9b2d9782f3a6c764a2b9859 (patch) | |
tree | 6709b5ddb8e5780455ab6a98b08abf0808e47de7 /scripts/release_ppa.sh | |
parent | 2bee7e91716a2bfee826f7b648c4cc6de888abbb (diff) | |
download | dexon-solidity-af86bfb07df801d4b9b2d9782f3a6c764a2b9859.tar dexon-solidity-af86bfb07df801d4b9b2d9782f3a6c764a2b9859.tar.gz dexon-solidity-af86bfb07df801d4b9b2d9782f3a6c764a2b9859.tar.bz2 dexon-solidity-af86bfb07df801d4b9b2d9782f3a6c764a2b9859.tar.lz dexon-solidity-af86bfb07df801d4b9b2d9782f3a6c764a2b9859.tar.xz dexon-solidity-af86bfb07df801d4b9b2d9782f3a6c764a2b9859.tar.zst dexon-solidity-af86bfb07df801d4b9b2d9782f3a6c764a2b9859.zip |
Force commit hash to 8 digits.
Diffstat (limited to 'scripts/release_ppa.sh')
-rwxr-xr-x | scripts/release_ppa.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/release_ppa.sh b/scripts/release_ppa.sh index 23c374e1..6a30faf5 100755 --- a/scripts/release_ppa.sh +++ b/scripts/release_ppa.sh @@ -52,7 +52,7 @@ mv solidity solc # Determine version cd solc version=`grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? CMakeLists.txt` -commithash=`git rev-parse --short HEAD` +commithash=`git rev-parse --short=8 HEAD` committimestamp=`git show --format=%ci HEAD | head -n 1` commitdate=`git show --format=%ci HEAD | head -n 1 | cut - -b1-10 | sed -e 's/-0?/./' | sed -e 's/-0?/./'` |