Skip to content

Commit

Permalink
Fix some submodule related problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarlt committed Aug 19, 2024
1 parent 20857af commit f6aee35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
# the build context to the docker image build server
/build

# in-tree builds
/deps
2 changes: 2 additions & 0 deletions scripts/create_source_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ REPO_ROOT="$(dirname "$0")"/..
TEMPDIR=$(mktemp -d)
SOLDIR="$TEMPDIR/solidity_$versionstring/"
mkdir "$SOLDIR"
# Ensure that submodules are initialized.
git submodule update --init --recursive
# Store the current source
git checkout-index -a --prefix="$SOLDIR"
# shellcheck disable=SC2016
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker_deploy_manual.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ DIR=$(mktemp -d)
(
cd "$DIR"

git clone --depth 2 https://github.com/ethereum/solidity.git -b "$branch"
git clone --recursive --depth 2 https://github.com/ethereum/solidity.git -b "$branch"
cd solidity
commithash=$(git rev-parse --short=8 HEAD)
echo -n "$commithash" > commit_hash.txt
Expand Down

0 comments on commit f6aee35

Please sign in to comment.