Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1721 from advancedtelematic/fix/make-src-archive
Browse files Browse the repository at this point in the history
make_src_archive.sh: Fix a bug if submodules weren't checked out.
  • Loading branch information
pattivacek authored Jul 14, 2020
2 parents 4169157 + 19cc538 commit 6091708
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/make_src_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ SCRIPTS_DIR=$(readlink -f "$(dirname "$0")")
OUTPUT=$(realpath "$1")
REPO=$(realpath "${2:-.}")

# Just in case this wasn't done before.
git -C "$REPO" submodule update --init --recursive

python3 -m venv venv

. venv/bin/activate

# pip install 'git_archive_all==1.19.4'
pip install git+https://github.com/Kentzo/git-archive-all@1f7938cd6db76bfcf7eb1046ccb818df72b141ad
pip install 'git_archive_all==1.21.0'

TMPDIR=$(mktemp -d)
trap 'rm -rf $TMPDIR' EXIT
Expand Down

0 comments on commit 6091708

Please sign in to comment.