Skip to content

Commit f6300d6

Browse files
authored
build: update gorelease config for version 2 (#401)
1 parent 1ab789a commit f6300d6

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches:
66
- master
77
pull_request:
8-
branches: [ master ]
8+
branches:
9+
- master
910

1011
jobs:
1112
build:

.goreleaser.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
project_name: mc-router
24
release:
35
github:
@@ -28,19 +30,12 @@ builds:
2830
env:
2931
- CGO_ENABLED=0
3032
archives:
31-
- id: tar_gz
32-
format: tar.gz
33-
format_overrides:
33+
- format_overrides:
3434
- goos: windows
35-
format: zip
35+
formats: ['zip']
3636
files:
3737
- LICENSE*
3838
- README*
39-
snapshot:
40-
name_template: SNAPSHOT-{{ .ShortCommit }}
41-
brews:
42-
- install: |
43-
bin.install "mc-router"
4439
dockers:
4540
- image_templates:
4641
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"

0 commit comments

Comments
 (0)