mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Handle git release tag properly
Build process will check current commit and if it is tagged starting with a `v` then it will create `prerelease.txt` file in the top directory.
This commit is contained in:
parent
37b66616fb
commit
2d6fe522a6
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$(git tag --points-at HEAD 2>/dev/null)"=="v*" ]]; then
|
||||
touch prerelease.txt
|
||||
fi
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
BUILD_TYPE=Release
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user