59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
project_name: gelim
|
|
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
- freebsd
|
|
- netbsd
|
|
- openbsd
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
- arm
|
|
goarm:
|
|
- 6
|
|
- 7
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: 386
|
|
- goos: freebsd
|
|
goarch: arm
|
|
- goos: freebsd
|
|
goarch: arm64
|
|
- goos: netbsd
|
|
goarch: arm
|
|
- goos: netbsd
|
|
goarch: arm64
|
|
- goos: openbsd
|
|
goarch: arm
|
|
- goos: openbsd
|
|
goarch: arm64
|
|
|
|
ldflags:
|
|
- -s -w -X main.Version={{.Version}}
|
|
|
|
archives:
|
|
- format: tar.gz
|
|
# this name template makes the OS and Arch compatible with the results of uname.
|
|
name_template: >-
|
|
{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_
|
|
{{- if eq .Arch "amd64" }}x86_64
|
|
{{- else if eq .Arch "386" }}i386
|
|
{{- else }}{{ .Arch }}{{ end }}
|
|
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
|
# use zip for windows archives
|
|
# format_overrides:
|
|
# - goos: windows
|
|
# format: zip
|
|
changelog:
|
|
skip: true
|
|
release:
|
|
skip_upload: true
|
|
|
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|