aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-05 01:57:20 +0800
committerchriseth <chris@ethereum.org>2017-05-17 17:59:34 +0800
commitb741f51bde0660f14b460955f91042b417bb8d54 (patch)
tree6951353412d2f2e85002c00a436b12fcf8c741db /scripts
parent2f0bd377ff20d14b028acfdb6fa62bf452e1253a (diff)
downloaddexon-solidity-b741f51bde0660f14b460955f91042b417bb8d54.tar.gz
dexon-solidity-b741f51bde0660f14b460955f91042b417bb8d54.tar.zst
dexon-solidity-b741f51bde0660f14b460955f91042b417bb8d54.zip
Also put prerelease.txt into release tarball.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create_source_tarball.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/create_source_tarball.sh b/scripts/create_source_tarball.sh
index 9ca72c31..553786ba 100755
--- a/scripts/create_source_tarball.sh
+++ b/scripts/create_source_tarball.sh
@@ -26,6 +26,10 @@ REPO_ROOT="$(dirname "$0")"/..
git submodule foreach 'git checkout-index -a --prefix="'"$SOLDIR"'/$path/"'
# Store the commit hash
echo "$commithash" > "$SOLDIR/commit_hash.txt"
+ if [ -e prerelease.txt -a ! -s prerelease.txt ]
+ then
+ cp prerelease.txt "$SOLDIR/"
+ fi
# Add dependencies
mkdir -p "$SOLDIR/deps/downloads/" 2>/dev/null || true
wget -O "$SOLDIR/deps/downloads/jsoncpp-1.7.7.tar.gz" https://github.com/open-source-parsers/jsoncpp/archive/1.7.7.tar.gz