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: builds:
- main: . - id: send2gokapi
goos: goos: [linux, darwin]
- linux goarch: [amd64, arm64]
- darwin dir: .
goarch: main: ./cmd/myapp
- amd64 env:
- arm64 - CGO_ENABLED=0
archives: archives:
- format: zip - id: default
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" builds: [send2gokapi]
format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
files:
- LICENSE.txt
- README.md
release: release:
disable: true # We won't create GitHub/Gitea releases directly disable: true # We won't create GitHub/Gitea releases directly