File tree Expand file tree Collapse file tree 1 file changed +32
-22
lines changed Expand file tree Collapse file tree 1 file changed +32
-22
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,37 @@ kind: pipeline
2
2
name : default
3
3
4
4
steps :
5
- - name : build
6
- image : golang:1.12
7
- commands :
8
- - make build-all
9
- when :
10
- branch :
11
- - master
12
- event :
13
- - push
14
- - pull_request
15
- - tag
5
+ - name : fetch
6
+ image : alpine/git
7
+ commands :
8
+ - git fetch --tags
9
+ when :
10
+ event :
11
+ - tag
12
+ branch :
13
+ - master
16
14
17
- - name : publish
18
- image : plugins/github-release
19
- settings :
20
- api_key :
21
- from_secret : github_api_key
22
- files : dist/*
23
- when :
24
- event :
25
- - tag
26
- branch :
27
- - master
15
+ - name : build
16
+ image : golang:1.12
17
+ commands :
18
+ - make build-all
19
+ when :
20
+ branch :
21
+ - master
22
+ event :
23
+ - push
24
+ - pull_request
25
+ - tag
26
+
27
+ - name : publish
28
+ image : plugins/github-release
29
+ settings :
30
+ api_key :
31
+ from_secret : github_api_key
32
+ files : dist/*
33
+ when :
34
+ event :
35
+ - tag
36
+ branch :
37
+ - master
28
38
You can’t perform that action at this time.
0 commit comments