Fix two Goreleaser deprecation messages

https://goreleaser.com/deprecations/#archive

https://goreleaser.com/deprecations/#nfpm
This commit is contained in:
Andrey Nering
2019-08-11 23:15:06 -03:00
parent a312d61d68
commit 613dfe06d3

View File

@@ -14,12 +14,11 @@ build:
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
archive: archives:
name_template: "{{.Binary}}_{{.Os}}_{{.Arch}}" - name_template: "{{.Binary}}_{{.Os}}_{{.Arch}}"
format_overrides:
format_overrides: - goos: windows
- goos: windows format: zip
format: zip
release: release:
draft: true draft: true
@@ -30,15 +29,15 @@ snapshot:
checksum: checksum:
name_template: "task_checksums.txt" name_template: "task_checksums.txt"
nfpm: nfpms:
vendor: Task - vendor: Task
homepage: https://github.com/go-task/task homepage: https://github.com/go-task/task
maintainer: Andrey Nering <andrey.nering@gmail.com> maintainer: Andrey Nering <andrey.nering@gmail.com>
description: Simple task runner written in Go description: Simple task runner written in Go
license: MIT license: MIT
conflicts: conflicts:
- taskwarrior - taskwarrior
formats: formats:
- deb - deb
- rpm - rpm
name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}" name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"