ci: fix deprecated goreleaser fields
This commit is contained in:
+11
-19
@@ -15,35 +15,27 @@ builds:
|
|||||||
- windows
|
- windows
|
||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
- "386"
|
|
||||||
goarm:
|
goarm:
|
||||||
- "6"
|
- "6"
|
||||||
main: cmd/mc-router/main.go
|
main: cmd/mc-router/main.go
|
||||||
binary: mc-router
|
binary: mc-router
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
archive:
|
archives:
|
||||||
format: tar.gz
|
- id: tar_gz
|
||||||
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
|
format: tar.gz
|
||||||
.Arm }}{{ end }}'
|
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
||||||
files:
|
files:
|
||||||
- licence*
|
- LICENSE*
|
||||||
- LICENCE*
|
- README*
|
||||||
- license*
|
|
||||||
- LICENSE*
|
|
||||||
- readme*
|
|
||||||
- README*
|
|
||||||
- changelog*
|
|
||||||
- CHANGELOG*
|
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: SNAPSHOT-{{ .Commit }}
|
name_template: SNAPSHOT-{{ .Commit }}
|
||||||
dockers:
|
dockers:
|
||||||
- goos: linux
|
- image_templates:
|
||||||
|
- "itzg/mc-router:latest"
|
||||||
|
- "itzg/mc-router:{{.Tag}}"
|
||||||
|
goos: linux
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
image: itzg/mc-router
|
|
||||||
tag_templates:
|
|
||||||
- "{{.Tag}}"
|
|
||||||
- latest
|
|
||||||
changelog:
|
changelog:
|
||||||
filters:
|
filters:
|
||||||
exclude:
|
exclude:
|
||||||
|
|||||||
Reference in New Issue
Block a user