Skip to content

Commit 18155f5

Browse files
committed
chore(snippets): Use an env-specific artifact file name.
1 parent e67ffc9 commit 18155f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-doc-snippets.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22
set -e
33

4+
ENV="${ENV:-dev}"
45
DIST_DIR="bin/dist"
56
TARGET_DIR="$DIST_DIR/snippets"
67
PACKAGE_VERSION="${PACKAGE_VERSION:-0.0.0}"
@@ -17,4 +18,4 @@ mkdir -p "$TARGET_DIR"
1718

1819
extractSnippets
1920

20-
(cd "$DIST_DIR" && tar zcvf "nativescript-angular-snippets-$PACKAGE_VERSION.tar.gz" snippets)
21+
(cd "$DIST_DIR" && tar zcvf "nativescript-angular-snippets-$ENV-$PACKAGE_VERSION.tar.gz" snippets)

0 commit comments

Comments
 (0)