mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-02-14 18:29:52 +00:00
36 lines
778 B
YAML
36 lines
778 B
YAML
version: 2
|
|
|
|
# xref: https://goreleaser.com/customization/project/
|
|
project_name: podinfo
|
|
|
|
# xref: https://goreleaser.com/customization/hooks/
|
|
before:
|
|
hooks:
|
|
- go mod download
|
|
|
|
# xref: https://goreleaser.com/customization/env/
|
|
env:
|
|
- CGO_ENABLED=0
|
|
|
|
# xref: https://goreleaser.com/customization/build/
|
|
builds:
|
|
- main: ./cmd/podcli
|
|
binary: podcli
|
|
ldflags: -s -w -X github.com/stefanprodan/podinfo/pkg/version.REVISION={{.Commit}}
|
|
goos:
|
|
- windows
|
|
- darwin
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
|
|
# xref: https://goreleaser.com/customization/archive/
|
|
archives:
|
|
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
files:
|
|
- LICENSE
|
|
|
|
# xref: https://goreleaser.com/customization/changelog/
|
|
changelog:
|
|
use: github-native
|