File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 22set -euo pipefail
33
44REPO_ROOT=" $( dirname " $0 " ) " /..
5+ # shellcheck source=scripts/common.sh
6+ source " ${REPO_ROOT} /scripts/common.sh"
7+
58cd " $REPO_ROOT "
69version=$( scripts/get_version.sh)
710commit_hash=$( git rev-parse --short=8 HEAD)
1417 version_string=" ${version} -nightly-${commit_date} -${commit_hash} "
1518fi
1619
20+ # The only purpose of commit_hash.txt is to make it possible to build the compiler without git.
21+ # It is not meant as an override of the real hash.
22+ [[ ! -e commit_hash.txt ]] || \
23+ fail " commit_hash.txt is present in the repository root, but will not be used to override the commit hash for the source package."
24+
1725TEMPDIR=$( mktemp -d -t " solc-src-tarball-XXXXXX" )
1826SOLDIR=" ${TEMPDIR} /solidity_${version_string} /"
1927mkdir " $SOLDIR "
You can’t perform that action at this time.
0 commit comments