mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 11:17:41 +02:00
40 lines
638 B
YAML
40 lines
638 B
YAML
version: 2
|
|
|
|
builds:
|
|
- id: pastebin
|
|
binary: pastebin
|
|
main: .
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
env:
|
|
- CGO_ENABLED=0
|
|
flags:
|
|
- -trimpath
|
|
- -tags=netgo
|
|
ldflags:
|
|
- -s -w -extldflags "-static"
|
|
- -X main.Version={{.Version}}
|
|
|
|
archives:
|
|
- format: tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
name_template: "pastebin_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
algorithm: sha256
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|