Ensure nightly and master builds with an alpha build version are tagged dev (#6231)

This commit is contained in:
Paul Stack 2021-02-01 19:37:53 +00:00 committed by GitHub
parent e86a69bedd
commit e6dbf49364
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,10 +23,6 @@ if [[ "${TRAVIS_PUBLISH_PACKAGES:-}" == "true" ]]; then
# If the package doesn't have an alpha tag, use the tag of latest instead of
# dev. NPM uses this tag as the default version to add, so we want it to mean
# the newest released version.
if [[ "${PKG_VERSION}" != *-beta* ]]; then
NPM_TAG="beta"
fi
if [[ "${PKG_VERSION}" != *-alpha* ]]; then
NPM_TAG="latest"
fi