File tree Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Expand file tree Collapse file tree 2 files changed +18
-25
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ jobs:
12
12
- run :
13
13
name : Go Tests
14
14
command : make test-go
15
- release- test :
15
+ test-release :
16
16
docker :
17
17
- image : circleci/golang:1.11.5
18
18
steps :
19
19
- checkout
20
20
- run :
21
21
name : Version Test
22
- command : if build/is-release-branch.sh $CIRCLE_BRANCH; then make find-missing-version; fi
22
+ command : make find-missing-version
23
23
deploy :
24
24
docker :
25
25
- image : circleci/golang:1.11.5
@@ -37,11 +37,25 @@ workflows:
37
37
build_and_test :
38
38
jobs :
39
39
- test
40
- - release-test
40
+ - test-release :
41
+ filters :
42
+ branches :
43
+ only :
44
+ - /^[0-9]\.[0-9]$/
45
+ - deploy-approval :
46
+ type : approval
47
+ requires :
48
+ - test
49
+ - test-release
50
+ filters :
51
+ branches :
52
+ only :
53
+ - /^[0-9]\.[0-9]$/
41
54
- deploy :
42
55
requires :
43
- - release-test
44
56
- test
57
+ - test-release
58
+ - deploy-approval
45
59
filters :
46
60
branches :
47
61
only :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments