1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

chore: fix goreleaser deprecations

This commit is contained in:
Andrey Nering
2023-08-09 22:50:07 -03:00
parent ae135f5203
commit dd9b1a1065
2 changed files with 27 additions and 27 deletions

View File

@ -1,28 +1,28 @@
build: builds:
binary: task - binary: task
main: ./cmd/task main: ./cmd/task
goos: goos:
- windows - windows
- darwin - darwin
- linux - linux
- freebsd - freebsd
goarch: goarch:
- '386' - '386'
- amd64 - amd64
- arm - arm
- arm64 - arm64
goarm: goarm:
- '6' - '6'
ignore: ignore:
- goos: darwin - goos: darwin
goarch: '386' goarch: '386'
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}' mod_timestamp: '{{ .CommitTimestamp }}'
flags: flags:
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w # Don't set main.version. - -s -w # Don't set main.version.
gomod: gomod:
proxy: true proxy: true
@ -72,7 +72,7 @@ brews:
license: MIT license: MIT
homepage: https://taskfile.dev homepage: https://taskfile.dev
folder: Formula folder: Formula
tap: repository:
owner: go-task owner: go-task
name: homebrew-tap name: homebrew-tap
test: test:

View File

@ -116,7 +116,7 @@ tasks:
test-release: test-release:
desc: Tests release process without publishing desc: Tests release process without publishing
cmds: cmds:
- goreleaser --snapshot --rm-dist - goreleaser --snapshot --clean
release: release:
desc: Prepare the project for a new release desc: Prepare the project for a new release