mirror of
https://github.com/therootcompany/golib.git
synced 2026-03-02 23:57:59 +00:00
chore(cmd/tcpfwd): update .goreleaser.yaml for monorepo
This commit is contained in:
parent
115efc0afb
commit
fc9f070285
@ -18,6 +18,9 @@ before:
|
|||||||
builds:
|
builds:
|
||||||
- env:
|
- env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
binary: tcpfwd
|
||||||
|
ldflags:
|
||||||
|
- -s -w -X main.version={{.Env.VERSION}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
@ -27,7 +30,7 @@ archives:
|
|||||||
- formats: [tar.gz]
|
- formats: [tar.gz]
|
||||||
# this name template makes the OS and Arch compatible with the results of `uname`.
|
# this name template makes the OS and Arch compatible with the results of `uname`.
|
||||||
name_template: >-
|
name_template: >-
|
||||||
{{ .ProjectName }}_
|
tcpfwd_{{ .Env.VERSION }}_
|
||||||
{{- title .Os }}_
|
{{- title .Os }}_
|
||||||
{{- if eq .Arch "amd64" }}x86_64
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
{{- else if eq .Arch "386" }}i386
|
{{- else if eq .Arch "386" }}i386
|
||||||
@ -45,9 +48,11 @@ changelog:
|
|||||||
- "^docs:"
|
- "^docs:"
|
||||||
- "^test:"
|
- "^test:"
|
||||||
|
|
||||||
|
checksum:
|
||||||
|
name_template: "tcpfwd_{{ .Env.VERSION }}_checksums.txt"
|
||||||
|
disable: false
|
||||||
|
|
||||||
|
# Release is disabled: goreleaser Pro is required to publish with a
|
||||||
|
# prefixed monorepo tag. We use 'gh release' instead (see release script).
|
||||||
release:
|
release:
|
||||||
footer: >-
|
disable: true
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user