change(ci): adjust docs + fix release template

This commit is contained in:
Songtronix 2020-05-23 10:02:39 +02:00
parent 5b7f93e14e
commit f71b317589
4 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,3 @@
# Template to only run if actual changes has been made to the code and not just documentation
.tests: &tests
extends: .recompile
stage: build-post

View File

@ -1,3 +1,5 @@
# Publishes veloren-server-cli to the gitlab container registry
# https://gitlab.com/veloren/veloren/container_registry
docker:
stage: publish
extends: .release

View File

@ -1,4 +1,4 @@
# Template to only run if pushes to master or a tag happened
.release:
rules:
- if: $CI_COMMIT_REF_NAME =~ /^master.$/ || $CI_COMMIT_TAG =~ /^r[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+/
- if: $CI_COMMIT_REF_NAME =~ /^master.$/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+/