Update build-docs.sh

This commit is contained in:
Igor Randjelovic
2021-01-20 14:35:29 +01:00
committed by GitHub
parent a5c249c670
commit ef36fc3870

View File

@@ -7,6 +7,7 @@ TARGET_DIR="$DIST_DIR/snippets"
PACKAGE_VERSION="${PACKAGE_VERSION:-0.0.0}"
archive_dist_dir() {
echo "archive_dist_dir called with $1 - producing nativescript-$DIR-$ENV-$PACKAGE_VERSION.tar.gz"
DIR="$1"
(cd "$DIST_DIR" && tar zcvf "nativescript-$DIR-$ENV-$PACKAGE_VERSION.tar.gz" $DIR)
}