message: build/release: use "next" tag only if prerelease
  Close
diff: @@ -82,12 +82,18 @@ commit_and_tag() {
  push_and_publish() {
  echo_funcname
  - # push branch and tags to git origin and publish to npm
  + # push branch and tags to git origin
  + git push --no-verify && git push --no-verify origin $NEW_TAG &&
  +
  + if [[ $NEW_VERSION == "prerelease" ]]; then
  + # publish to npm with "next" tag
  git tag --force next &&
  - git push --no-verify &&
  - git push --no-verify origin $NEW_TAG &&
  git push --no-verify -f origin next &&
  npm publish --tag next
  + else
  + # publish with default "latest" tag
  + npm publish
  + fi
  }
  echo_funcname() {
  