Skip to content

Commit d387e07

Browse files
committed
chore: allow setting TAG on commandline
1 parent e51c848 commit d387e07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ for PKG in packages/* docs ; do
2525
continue
2626
fi
2727
pushd $PKG
28-
TAG="latest"
28+
# initialise TAG if isn't already set
29+
if [[ -z "$TAG" ]] ; then
30+
TAG="latest"
31+
fi
2932
echo "⚡ Publishing $PKG with tag $TAG"
3033
cp $REPO_ROOT/LICENSE .
3134
if [[ $PKG != "docs" ]]; then

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy