mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added git tag check
This commit is contained in:
parent
d2f86ffb16
commit
30dc01eb97
@ -10,7 +10,7 @@ else
|
||||
BUILD_TYPE="$1"
|
||||
fi
|
||||
|
||||
if [[ "$(git tag --points-at HEAD 2>/dev/null)" == v* ]]; then
|
||||
if [[ "$(git tag --points-at HEAD 2>/dev/null | head -n 1)" == v* ]]; then
|
||||
touch "${ROOTDIR}/prerelease.txt"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user