aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 3785e1c1..362acced 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -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
@@ -20,4 +24,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