We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0506ab6 commit d83e188Copy full SHA for d83e188
.gitlab-ci.yml
@@ -6,6 +6,7 @@ stages:
6
- publish
7
- benchmark
8
- audit
9
+ - release
10
11
tag:
12
stage: prepare
@@ -92,7 +93,7 @@ updates:
92
93
script:
94
- cargo outdated > updates.txt
95
- cat updates.txt
- - "[[ $(wc -l <updates.txt) != 2 ]] && exit 0"
96
+ - "[[ $(wc -l <updates.txt) != 2 ]] && exit 1"
97
rules:
98
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
99
artifacts:
@@ -101,8 +102,10 @@ updates:
101
102
103
release:
104
stage: release
- needs:
105
- - job: publish
+ rules:
106
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
107
+ script:
108
+ - echo Releasing $TAG
109
110
name: '$TAG'
111
description: 'Automatic Release: $EXTRA_DESCRIPTION'
0 commit comments