mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-09-06 01:37:46 +02:00
49 lines
847 B
YAML
49 lines
847 B
YAML
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
|
# Debug config for quick builds - only macOS and Linux ARM64
|
|
version: 2
|
|
|
|
project_name: osmedeus
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
builds:
|
|
- id: osmedeus
|
|
main: ./cmd/osmedeus
|
|
binary: osmedeus
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- arm64
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.BuildTime={{.Date}}
|
|
- -X main.CommitHash={{.ShortCommit}}
|
|
|
|
archives:
|
|
- id: default
|
|
formats:
|
|
- tar.gz
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
files:
|
|
- LICENSE*
|
|
- README*
|
|
- CHANGELOG*
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
algorithm: sha256
|
|
|
|
snapshot:
|
|
version_template: "{{ .Tag }}-snapshot"
|
|
|
|
changelog:
|
|
disable: true
|
|
|
|
release:
|
|
disable: true
|