Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 2 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /