Explorar o código

npm alpha publishing

Adam Shaw %!s(int64=7) %!d(string=hai) anos
pai
achega
5b018a3f42
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      bin/publish-release.sh

+ 4 - 1
bin/publish-release.sh

@@ -25,8 +25,11 @@ success=0
 current_branch=$(git symbolic-ref --quiet --short HEAD)
 
 # temporarily checkout the tag's commit, publish to NPM
+echo
+echo 'NOTE!!! publishing with "alpha" tag (whereas default is "latest")'
+echo
 git checkout --quiet "v$version"
-if npm publish
+if npm publish --tag alpha
 then
   success=1
 fi