build: delete obsolete versions when auto publishing
This commit is contained in:
parent
9ebc9cc73c
commit
fccb290e05
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ publish-to-foundry-admin:
|
||||||
variables:
|
variables:
|
||||||
FVTT_MANIFEST_PATH: darkness-dependent-vision/module.json
|
FVTT_MANIFEST_PATH: darkness-dependent-vision/module.json
|
||||||
FVTT_MANIFEST_URL: ${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}/downloads/module.json
|
FVTT_MANIFEST_URL: ${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}/downloads/module.json
|
||||||
|
FVTT_DELETE_OBSOLETE_VERSIONS: 'true'
|
||||||
script: foundry-publish
|
script: foundry-publish
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
|
||||||
|
|
Loading…
Reference in a new issue