Skip to content

Commit d83e188

Browse files
committed
fix
1 parent 0506ab6 commit d83e188

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.gitlab-ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ stages:
66
- publish
77
- benchmark
88
- audit
9+
- release
910

1011
tag:
1112
stage: prepare
@@ -92,7 +93,7 @@ updates:
9293
script:
9394
- cargo outdated > updates.txt
9495
- cat updates.txt
95-
- "[[ $(wc -l <updates.txt) != 2 ]] && exit 0"
96+
- "[[ $(wc -l <updates.txt) != 2 ]] && exit 1"
9697
rules:
9798
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
9899
artifacts:
@@ -101,8 +102,10 @@ updates:
101102

102103
release:
103104
stage: release
104-
needs:
105-
- job: publish
105+
rules:
106+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
107+
script:
108+
- echo Releasing $TAG
106109
release:
107110
name: '$TAG'
108111
description: 'Automatic Release: $EXTRA_DESCRIPTION'

0 commit comments

Comments
 (0)