chore(ci): gitlab release job should be in the release stage.
This commit is contained in:
parent
0672dd4938
commit
9bdd7e7332
1 changed files with 3 additions and 2 deletions
|
@ -128,11 +128,12 @@ git_ops:
|
|||
|
||||
release-gitlab:
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
dependencies:
|
||||
- build
|
||||
stage: release
|
||||
only:
|
||||
- tags
|
||||
- /^v\d+\.\d+\.\d+(-\w+)?$/
|
||||
dependencies:
|
||||
- build
|
||||
script:
|
||||
- release-cli create \
|
||||
--name "Release ${APP_NAME} ${APP_VERSION}" \
|
||||
|
|
Loading…
Reference in a new issue