diff options
author | chriseth <chris@ethereum.org> | 2016-09-10 00:01:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-10 00:01:08 +0800 |
commit | 51a98ab84a59fd5fb34378763fd9ed635cf06d8d (patch) | |
tree | 6157a938450843d33de3eb4b25d7a213ec13f7bb /scripts/release_ppa.sh | |
parent | 2c4e9ece07216e4077dc94b10104237df0e6114a (diff) | |
parent | 6c757ce4b8b8bef51de77180d1b914453655e238 (diff) | |
download | dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar.gz dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.tar.zst dexon-solidity-51a98ab84a59fd5fb34378763fd9ed635cf06d8d.zip |
Merge pull request #1074 from ethereum/noleadingzeros
Remove leading zeroes in prerelease components.
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 8e9dc282..23c374e1 100755 --- a/scripts/release_ppa.sh +++ b/scripts/release_ppa.sh @@ -54,7 +54,7 @@ cd solc version=`grep -oP "PROJECT_VERSION \"?\K[0-9.]+(?=\")"? CMakeLists.txt` 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` +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 ] |