mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not remove leading zeros from commit hashes while publishing.
This commit is contained in:
parent
0508e24385
commit
a44ba4e994
@ -36,9 +36,6 @@ VER="v$VER"
|
|||||||
COMMIT=$(git rev-parse --short=8 HEAD)
|
COMMIT=$(git rev-parse --short=8 HEAD)
|
||||||
DATE=$(date --date="$(git log -1 --date=iso --format=%ad HEAD)" --utc +%Y.%-m.%-d)
|
DATE=$(date --date="$(git log -1 --date=iso --format=%ad HEAD)" --utc +%Y.%-m.%-d)
|
||||||
|
|
||||||
# remove leading zeros in components - they are not semver-compatible
|
|
||||||
COMMIT=$(echo "$COMMIT" | sed -e 's/^0*//')
|
|
||||||
|
|
||||||
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
|
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
|
||||||
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
|
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
|
||||||
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
|
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
|
||||||
|
Loading…
Reference in New Issue
Block a user