After deploying a stable release, clean up the next tag

This commit is contained in:
Jérémie Astori 2018-02-20 00:59:47 -05:00
parent 288e8148fd
commit 4e63ef9764
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8

View file

@ -45,3 +45,9 @@ deploy:
condition: "$BUILD_ENV = production"
tags: true
repo: thelounge/lounge
# If the current release is a stable release, remove potential pre-release tag
after_deploy: |
if [ "$(npm_dist_tag)" == "latest" ]; then
npm dist-tag rm thelounge next || true
fi