Updated Goreleaser to v2
Some checks failed
Build and Release / release (push) Failing after 27s

This commit is contained in:
Leon Mika 2025-06-01 10:09:37 +10:00
parent 67a576f786
commit fe5d00730b

View file

@ -1,17 +1,25 @@
project_name: send2gokapi
version: 2
project:
name: send2gokapi
builds:
- main: .
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- id: send2gokapi
goos: [linux, darwin]
goarch: [amd64, arm64]
dir: .
main: ./cmd/myapp
env:
- CGO_ENABLED=0
archives:
- format: zip
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: default
builds: [send2gokapi]
format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE.txt
- README.md
release:
disable: true # We won't create GitHub/Gitea releases directly