mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
73 lines
1.2 KiB
YAML
73 lines
1.2 KiB
YAML
# Make sure to check the documentation at https://goreleaser.com
|
|
|
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
|
|
|
version: 2
|
|
|
|
before:
|
|
hooks:
|
|
- go mod tidy
|
|
|
|
report_sizes: true
|
|
|
|
builds:
|
|
- id: uncloud
|
|
main: ./cmd/uncloud
|
|
binary: uncloud
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
#- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
- id: uncloudd
|
|
main: ./cmd/uncloudd
|
|
binary: uncloudd
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
archives:
|
|
- id: uncloud
|
|
builds:
|
|
- uncloud
|
|
format: gz
|
|
name_template: >-
|
|
{{ .Binary }}_
|
|
{{- if eq .Os "darwin"}}macos
|
|
{{- else}}{{.Os}}{{end}}_
|
|
{{- .Arch }}
|
|
# use zip for windows archives
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- none*
|
|
|
|
- id: uncloudd
|
|
builds:
|
|
- uncloudd
|
|
format: gz
|
|
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
|
|
files:
|
|
- none*
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|