build: delete obsolete versions when auto publishing

This commit is contained in:
Johannes Loher 2022-02-02 01:12:58 +01:00
parent 9ebc9cc73c
commit fccb290e05

View file

@ -155,6 +155,7 @@ publish-to-foundry-admin:
variables:
FVTT_MANIFEST_PATH: darkness-dependent-vision/module.json
FVTT_MANIFEST_URL: ${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}/downloads/module.json
FVTT_DELETE_OBSOLETE_VERSIONS: 'true'
script: foundry-publish
rules:
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'