Skip to content

Commit 8bd1d9e

Browse files
committed
Add goreleaser
1 parent df96305 commit 8bd1d9e

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

.goreleaser.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
project_name: multicode
4+
5+
before:
6+
hooks:
7+
- go mod download
8+
builds:
9+
-
10+
main: ./cmd/decode/main.go
11+
env:
12+
- CGO_ENABLED=0
13+
goos:
14+
- linux
15+
- darwin
16+
- freebsd
17+
- openbsd
18+
- netbsd
19+
- solaris
20+
# -plan9
21+
- dragonfly
22+
- windows
23+
goarch:
24+
- 386
25+
- amd64
26+
- arm
27+
- arm64
28+
# - ppc64
29+
# - ppc64le
30+
# - mips
31+
# - mipsle
32+
# - mips64
33+
# - mips64le
34+
goarm:
35+
- 6
36+
- 7
37+
38+
archive:
39+
wrap_in_directory: true
40+
format_overrides:
41+
- goos: windows
42+
format: zip
43+
files:
44+
- LICENSE
45+
- README.md
46+
47+
48+
checksum:
49+
name_template: 'checksums.txt'
50+
51+
snapshot:
52+
name_template: "{{ .Tag }}-next-{{.Commit}}"
53+
54+
nfpm:
55+
maintainer: Simon Jürgensmeyyer <[email protected]>
56+
homepage: https://github.com/sj14/multicode/
57+
description: Decode hex, base64 and protobuf recursively with a single command
58+
license: MIT
59+
formats:
60+
- deb
61+
- rpm
62+
63+
brew:
64+
# name: dbbench
65+
# folder: homebrew-tap
66+
github:
67+
owner: sj14
68+
name: homebrew-tap
69+
description: Decode hex, base64 and protobuf recursively with a single command
70+
71+
release:
72+
github:
73+
owner: sj14
74+
name: multicode
75+
disable: false
76+
draft: false
77+
prerelease: true
78+
79+
changelog:
80+
filters:
81+
exclude:
82+
- typo

0 commit comments

Comments
 (0)