File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 18
18
- dragonfly
19
19
goarch :
20
20
- amd64
21
- - 386
22
21
- arm
23
22
- arm64
24
23
ignore :
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ branches:
9
9
# library, I'm not going to worry about older versions for now.
10
10
go :
11
11
- tip
12
+ - 1.15.x
13
+ - 1.14.x
12
14
- 1.13.x
13
15
- 1.12.x
14
16
- 1.11.x
15
17
- 1.10.x
16
18
- 1.9.x
17
- - 1.8.x
18
- - 1.7.x
19
19
20
20
# don't call go get ./... because this hides when deps are
21
21
# not packaged into the vendor directory.
Original file line number Diff line number Diff line change @@ -67,10 +67,8 @@ func Install() error {
67
67
68
68
var releaseTag = regexp .MustCompile (`^v1\.[0-9]+\.[0-9]+$` )
69
69
70
- // Generates a new release. Expects the TAG environment variable to be set,
71
- // which will create a new tag with that name.
72
- func Release () (err error ) {
73
- tag := os .Getenv ("TAG" )
70
+ // Generates a new release. Expects a version tag in v1.x.x format.
71
+ func Release (tag string ) (err error ) {
74
72
if ! releaseTag .MatchString (tag ) {
75
73
return errors .New ("TAG environment variable must be in semver v1.x.x format, but was " + tag )
76
74
}
You can’t perform that action at this time.
0 commit comments