Merge pull request #2999 from thelounge/astorije/travis-npm-dist-tag

Keep using npm to clean up dist-tags after a stable release
This commit is contained in:
Pavel Djundik 2019-01-28 00:56:32 +02:00 committed by GitHub
commit b27e92f11d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,5 +63,5 @@ deploy:
# If the current release is a stable release, remove potential pre-release tag # If the current release is a stable release, remove potential pre-release tag
after_deploy: | after_deploy: |
if [ "$(npm_dist_tag)" == "latest" ]; then if [ "$(npm_dist_tag)" == "latest" ]; then
yarn tag remove thelounge next || true npm dist-tag rm thelounge next || true
fi fi