File tree 1 file changed +5
-13
lines changed
1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -27,29 +27,21 @@ check-fmt:
27
27
script : cargo fmt --check
28
28
allow_failure : true
29
29
30
- release-build :
31
- stage : release
32
- script : cargo build --release
33
- rules :
34
- - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TITLE =~ /\d\.\d\.\d/
35
-
36
30
publish :
37
31
stage : release
38
32
script : cargo publish
39
- needs :
40
- - job : release-build
33
+ rules :
34
+ - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TITLE =~ /\d\.\d\.\d/
41
35
release :
42
36
name : $CI_COMMIT_TITLE
43
37
tag_name : ' $CI_COMMIT_TITLE'
44
38
ref : ' $CI_COMMIT_TITLE'
45
39
description : ' $CI_COMMIT_TITLE - Automatically Released'
46
- rules :
47
- - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TITLE =~ /\d\.\d\.\d/
48
40
49
41
benchmark :
50
42
stage : benchmark
51
43
script : cargo bench
52
- needs :
53
- - job : publish
54
44
rules :
55
- - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TITLE =~ /\d\.\d\.\d/
45
+ - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TITLE =~ /\d\.\d\.\d/
46
+ needs :
47
+ - job : publish
You can’t perform that action at this time.
0 commit comments