Skip to content

Commit

Permalink
feat: allowing alpha.sh to publish custom npm tags (#333)
Browse files Browse the repository at this point in the history
example:
bash alpha.sh my-experimental-tag
  • Loading branch information
fboucquez committed Jan 12, 2022
1 parent 2c23c38 commit 54e7d0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions alpha.sh
Expand Up @@ -2,7 +2,9 @@
set -e
. ./travis/node-functions.sh
VERSION="$(node_load_version)"
echo $VERSION
npm pack && /bin/bash travis/node-functions.sh node_publish_alpha
TAG=${1:-alpha}
echo "publishing $VERSION with tag $TAG"
npm pack
/bin/bash travis/node-functions.sh node_publish_alpha $TAG
npm version "$VERSION" --commit-hooks false --git-tag-version false
npm run style:fix
2 changes: 1 addition & 1 deletion travis

0 comments on commit 54e7d0c

Please sign in to comment.