Skip to content

Commit

Permalink
update goreleaser config, replace deprecated options
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Oct 26, 2019
1 parent ba7b230 commit bbfa5db
Showing 1 changed file with 41 additions and 38 deletions.
79 changes: 41 additions & 38 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@ release:
name: centrifugo
name_template: '{{.Tag}}'
prerelease: false
brew:
github:
owner: centrifugal
name: homebrew-centrifugo
folder: Formula
description: "Real-time messaging server"
commit_author:
name: Alexander Emelin
email: frvzmb@gmail.com
install: bin.install "centrifugo"
homepage: "https://github.com/centrifugal/centrifugo"
brews:
-
github:
owner: centrifugal
name: homebrew-centrifugo
folder: Formula
description: "Real-time messaging server"
commit_author:
name: Alexander Emelin
email: frvzmb@gmail.com
install: bin.install "centrifugo"
homepage: "https://github.com/centrifugal/centrifugo"
builds:
- goos:
- linux
Expand All @@ -38,38 +39,40 @@ builds:
env:
# https://github.com/goreleaser/goreleaser/issues/225
- CGO_ENABLED=0
archive:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: tar.gz
files:
- LICENSE*
- README*
- CHANGELOG*
format_overrides:
- goos: windows
format: zip
archives:
- id: centrifugo
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: tar.gz
files:
- LICENSE*
- README*
- CHANGELOG*
format_overrides:
- goos: windows
format: zip
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
dist: dist
sign:
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
signs:
-
cmd: gpg
args:
- --output
- $signature
- --detach-sig
- $artifact
signature: ${artifact}.sig
artifacts: none
dockers:
-
binary: centrifugo
binaries:
- centrifugo
goos: linux
goarch: amd64
goarm: ''
image: centrifugo/centrifugo
tag_templates:
- "{{ .Tag }}"
- "v{{ .Major }}"
- "v{{ .Major }}.{{ .Minor }}"
- latest
image_templates:
- "centrifugo/centrifugo:{{ .Tag }}"
- "centrifugo/centrifugo:v{{ .Major }}"
- "centrifugo/centrifugo:v{{ .Major }}.{{ .Minor }}"
- "centrifugo/centrifugo:latest"

0 comments on commit bbfa5db

Please sign in to comment.