diff options
author | chriseth <chris@ethereum.org> | 2016-09-17 21:25:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-17 21:25:54 +0800 |
commit | af6afb0415761b53721f89c7f65064807f41cbd3 (patch) | |
tree | 006481ce07f5ed6f1690014921f8c559b71dc5b5 /scripts/release_ppa.sh | |
parent | 4fc6fc2ca59579fae2472df319c2d8d31fe5bde5 (diff) | |
parent | a78e7794225da95d0f875c908025213d6a47cb59 (diff) | |
download | dexon-solidity-af6afb0415761b53721f89c7f65064807f41cbd3.tar.gz dexon-solidity-af6afb0415761b53721f89c7f65064807f41cbd3.tar.zst dexon-solidity-af6afb0415761b53721f89c7f65064807f41cbd3.zip |
Merge pull request #1107 from ethereum/develop
Version 0.4.2
Diffstat (limited to 'scripts/release_ppa.sh')
-rwxr-xr-x | scripts/release_ppa.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/release_ppa.sh b/scripts/release_ppa.sh index 8e9dc282..6a30faf5 100755 --- a/scripts/release_ppa.sh +++ b/scripts/release_ppa.sh @@ -52,9 +52,9 @@ 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` +commitdate=`git show --format=%ci HEAD | head -n 1 | cut - -b1-10 | sed -e 's/-0?/./' | sed -e 's/-0?/./'` echo "$commithash" > commit_hash.txt if [ $branch = develop ] |