aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-12-06 23:15:25 +0800
committerGitHub <noreply@github.com>2017-12-06 23:15:25 +0800
commit1343770dfe2f2231d1180dc41ff42164172bbeec (patch)
tree7dab3d653ea1ef7db248967fb12b611b458e0dab
parentc2109436ded18b98ec620adea45327becfac22f1 (diff)
parent4634ce825b1f9f810978c15fe12d652a3f833537 (diff)
downloaddexon-solidity-1343770dfe2f2231d1180dc41ff42164172bbeec.tar.gz
dexon-solidity-1343770dfe2f2231d1180dc41ff42164172bbeec.tar.zst
dexon-solidity-1343770dfe2f2231d1180dc41ff42164172bbeec.zip
Merge pull request #3288 from kayuri/SOL3277--Properly-handle-release-tag
Handle git release tag properly
-rwxr-xr-xscripts/build.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 3785e1c1..bddbb97a 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -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 \ No newline at end of file
+fi