All checks were successful
PR Check / check-and-test (pull_request) Successful in 11s
- Enhanced .goreleaser.yaml for improved build configuration, including static linking and ARM64 support. - Updated logging in root.go to include version date during startup. - Modified version.go to initialize and expose the build date alongside the version. - Adjusted version command output to display both version and date for better clarity.
56 lines
1.0 KiB
YAML
56 lines
1.0 KiB
YAML
version: 2
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy -v
|
|
|
|
builds:
|
|
- id: default
|
|
binary: steamcache2
|
|
ldflags:
|
|
- -s
|
|
- -w
|
|
- -extldflags "-static"
|
|
- -X s1d3sw1ped/SteamCache2/version.Version={{.Version}}
|
|
- -X s1d3sw1ped/SteamCache2/version.Date={{.Date}}
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ignore:
|
|
- goos: windows
|
|
goarch: arm64
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
|
|
archives:
|
|
- id: default
|
|
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
|
|
formats: tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
formats: zip
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
- steamcache2
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|
|
|
|
release:
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
footer: "Copyright (c) 2025 s1d3sw1ped"
|
|
|
|
gitea_urls:
|
|
api: https://git.s1d3sw1ped.com/api/v1
|
|
download: https://git.s1d3sw1ped.com |