Run release jobs in CI for release tag only

This commit is contained in:
timvisee 2023-01-25 20:47:43 +01:00
parent 226215479c
commit 5f13132c57
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172

View File

@ -224,7 +224,6 @@ release-gitlab-generic-package:
- build-aarch64-linux-gnu
- build-x86_64-windows
only:
- master
- /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
variables:
LINUX_GNU_BIN: "lazymc-x86_64-unknown-linux-gnu"
@ -255,7 +254,6 @@ release-gitlab-release:
image: registry.gitlab.com/gitlab-org/release-cli
stage: release
only:
- master
- /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
variables:
LINUX_GNU_BIN: "lazymc-x86_64-unknown-linux-gnu"
@ -282,7 +280,6 @@ release-gitlab-release:
release-github:
stage: release
only:
- master
- /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
dependencies:
- build-x86_64-linux-gnu