Skip to content
This repository has been archived by the owner on Feb 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1004 from kans/release-tar-balls-2
Browse files Browse the repository at this point in the history
build: tar the tarballs
  • Loading branch information
kans authored Jun 6, 2017
2 parents 1e2c23b + 4caf28b commit c4110b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions installer/scripts/release/make_release_tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ cp "$ROOT/bin/darwin/installer" "$INSTALLER_RELEASE_DIR/darwin/installer"
cp "$ROOT/bin/linux/installer" "$INSTALLER_RELEASE_DIR/linux/installer"

echo "Adding TerraForm sources"
cp -r $TERRAFORM_SOURCES "$TECTONIC_RELEASE_TOP_DIR"

echo "Building release tarball"
for p in "${TERRAFORM_SOURCES[@]}"
do
cp -r "$p" "$TECTONIC_RELEASE_TOP_DIR"
done

echo "Building release tarball"
tar -cvzf "$ROOT/$TECTONIC_RELEASE_TARBALL_FILE" -C "$TECTONIC_RELEASE_DIR" "${TECTONIC_RELEASE_TOP_DIR#$TECTONIC_RELEASE_DIR/}"

echo "Release tarball is available at $ROOT/$TECTONIC_RELEASE_TARBALL_FILE"

0 comments on commit c4110b4

Please sign in to comment.