@@ -0,0 +1,68 @@
|
||||
# GoReleaser configuration
|
||||
# https://goreleaser.com
|
||||
version: 2
|
||||
|
||||
project_name: RocketLeagueBot-Renderer
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- go mod tidy
|
||||
|
||||
builds:
|
||||
- id: renderer
|
||||
main: .
|
||||
binary: RocketLeagueBot-Renderer
|
||||
# Pure-Go build (WASM SQLite, no cgo) — fully static, cross-compiles cleanly.
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
goos:
|
||||
- linux
|
||||
- darwin
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
ignore:
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
|
||||
|
||||
archives:
|
||||
- id: default
|
||||
formats: [tar.gz]
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
formats: [zip]
|
||||
name_template: >-
|
||||
{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
|
||||
files:
|
||||
- README.md
|
||||
|
||||
checksum:
|
||||
name_template: checksums.txt
|
||||
|
||||
snapshot:
|
||||
version_template: "{{ incpatch .Version }}-snapshot-{{ .ShortCommit }}"
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- "^docs:"
|
||||
- "^test:"
|
||||
- "^chore:"
|
||||
- "Merge pull request"
|
||||
- "Merge branch"
|
||||
|
||||
# Publish releases to the Gitea instance.
|
||||
gitea_urls:
|
||||
api: https://git.destefano.cloud/api/v1
|
||||
download: https://git.destefano.cloud
|
||||
|
||||
release:
|
||||
gitea:
|
||||
owner: fdestefano
|
||||
name: RocketLeagueBot-Renderer
|
||||
Reference in New Issue
Block a user