1
0
mirror of https://github.com/go-task/task.git synced 2025-03-17 21:08:01 +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:
binary: task
main: ./cmd/task
goos:
- windows
- darwin
- linux
- freebsd
goarch:
- '386'
- amd64
- arm
- arm64
goarm:
- '6'
ignore:
- goos: darwin
goarch: '386'
env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- -s -w # Don't set main.version.
builds:
- binary: task
main: ./cmd/task
goos:
- windows
- darwin
- linux
- freebsd
goarch:
- '386'
- amd64
- arm
- arm64
goarm:
- '6'
ignore:
- goos: darwin
goarch: '386'
env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- -s -w # Don't set main.version.
gomod:
proxy: true
@ -72,7 +72,7 @@ brews:
license: MIT
homepage: https://taskfile.dev
folder: Formula
tap:
repository:
owner: go-task
name: homebrew-tap
test:

View File

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