-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
80 lines (71 loc) · 1.6 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# This is a goreleaser config file. Check the docs 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
project_name: gobonsai
builds:
- binary: '{{ .ProjectName }}'
env:
- CGO_ENABLED=0
tags:
- osusergo
- netgo
ldflags:
- '-s'
- '-w'
- '-X main.Version={{ .Version }}'
goos:
- linux
- darwin
- windows
ignore:
- goos: linux
goarch: 386
- goos: windows
goarch: 386
- goos: windows
goarch: arm64
#no_unique_dist_dir: true
upx:
- enabled: true
goos: [ linux, windows ]
compress: best
lzma: true
archives:
- meta: false
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.txt
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
maintainer: Florian Hübner <[email protected]>
description: |-
A bonsai tree generator
homepage: https://github.com/nothub/gobonsai
license: MIT
section: games
dependencies:
- libc6 (>= 2.24)
formats:
- apk
- deb
- rpm
- archlinux
bindir: /usr/local/bin
meta: false
changelog:
sort: asc
checksum:
name_template: "checksums.txt"
algorithm: sha256
release:
github:
owner: nothub
name: gobonsai
name_template: 'v{{ .Version }}'
header: 'Release generated at commit: {{ .ShortCommit }}'
draft: true
replace_existing_draft: true