File tree 2 files changed +17
-8
lines changed
2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 1
- local golang = 'golang:1.12 ' ;
1
+ local golang = 'golang:1.13 ' ;
2
2
3
3
local volumes = [{ name: 'gopath' , temp: {} }];
4
4
local mounts = [{ name: 'gopath' , path: '/go' }];
@@ -65,6 +65,7 @@ local docker(arch) = pipeline('docker-' + arch) {
65
65
66
66
pipeline('release' ) {
67
67
steps: [
68
+ go('fetch-tags' , ['git fetch origin --tags' ]),
68
69
make('cross' ),
69
70
{
70
71
name: 'publish' ,
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ platform:
8
8
9
9
steps :
10
10
- name : download
11
- image : golang:1.12
11
+ image : golang:1.13
12
12
commands :
13
13
- go mod download
14
14
volumes :
15
15
- name : gopath
16
16
path : /go
17
17
18
18
- name : lint
19
- image : golang:1.12
19
+ image : golang:1.13
20
20
commands :
21
21
- make lint
22
22
volumes :
26
26
- download
27
27
28
28
- name : test
29
- image : golang:1.12
29
+ image : golang:1.13
30
30
commands :
31
31
- make test
32
32
volumes :
@@ -48,8 +48,16 @@ platform:
48
48
arch : amd64
49
49
50
50
steps :
51
+ - name : fetch-tags
52
+ image : golang:1.13
53
+ commands :
54
+ - git fetch origin --tags
55
+ volumes :
56
+ - name : gopath
57
+ path : /go
58
+
51
59
- name : cross
52
- image : golang:1.12
60
+ image : golang:1.13
53
61
commands :
54
62
- make cross
55
63
volumes :
@@ -86,7 +94,7 @@ platform:
86
94
87
95
steps :
88
96
- name : static
89
- image : golang:1.12
97
+ image : golang:1.13
90
98
commands :
91
99
- make static
92
100
volumes :
@@ -127,7 +135,7 @@ platform:
127
135
128
136
steps :
129
137
- name : static
130
- image : golang:1.12
138
+ image : golang:1.13
131
139
commands :
132
140
- make static
133
141
volumes :
@@ -168,7 +176,7 @@ platform:
168
176
169
177
steps :
170
178
- name : static
171
- image : golang:1.12
179
+ image : golang:1.13
172
180
commands :
173
181
- make static
174
182
volumes :
You can’t perform that action at this time.
0 commit comments