mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3288 from kayuri/SOL3277--Properly-handle-release-tag
Handle git release tag properly
This commit is contained in:
commit
1343770dfe
@ -7,6 +7,11 @@ else
|
||||
fi
|
||||
|
||||
cd $(dirname "$0")/.. &&
|
||||
|
||||
if [[ "$(git tag --points-at HEAD 2>/dev/null)" == v* ]]; then
|
||||
touch prerelease.txt
|
||||
fi
|
||||
|
||||
mkdir -p build &&
|
||||
cd build &&
|
||||
cmake .. -DCMAKE_BUILD_TYPE="$BUILD_TYPE" &&
|
||||
@ -20,4 +25,4 @@ fi
|
||||
if [ -z $CI ]; then
|
||||
echo "Installing solc and soltest"
|
||||
install solc/solc /usr/local/bin && install test/soltest /usr/local/bin
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user