-
Notifications
You must be signed in to change notification settings - Fork 8
/
.goreleaser.yaml
81 lines (72 loc) · 1.87 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
81
# 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: mrpack-install
builds:
- binary: '{{ .ProjectName }}'
env:
- CGO_ENABLED=0
tags:
- osusergo
- netgo
ldflags:
- '-s'
- '-w'
- '-X github.com/nothub/mrpack-install/buildinfo.version={{ .Version }}'
- '-X github.com/nothub/mrpack-install/buildinfo.commit={{ .Commit }}'
- '-X github.com/nothub/mrpack-install/buildinfo.date={{ .Date }}'
- '-X github.com/nothub/mrpack-install/buildinfo.tool=goreleaser'
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 cli application for installing
Minecraft servers and Modrinth modpacks.
homepage: https://github.com/nothub/mrpack-install
license: MIT
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: mrpack-install
name_template: 'v{{ .Version }}'
header: 'Release generated at commit: {{ .ShortCommit }}'
draft: true
replace_existing_draft: true