-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
105 lines (89 loc) · 2.38 KB
/
.goreleaser.yml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
project_name: hussar
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
id: "hussar-compiler"
main: ./main.go # should be ./cmd/interpreter/main.go after tooling change
binary: hussar
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
brews:
- # GOARM to specify which 32-bit arm version to use if there are multiple versions
# from the build section. Brew formulas support atm only one 32-bit version.
# Default is 6 for all artifacts or each id if there a multiple versions.
goarm: 6
# Github repository to push the tap to.
github:
owner: hussar-lang
name: homebrew-tap
url_template: "https://github.com/hussar-lang/hussar/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# Git author used to commit to the repository.
commit_author:
name: goreleaserbot
email: [email protected]
# Folder inside the repository to put the formula.
# Default is the root folder.
folder: Formula
homepage: "https://hussar.io/"
description: "Interpreter and tooling for the Hussar programming language."
# If set to auto, the release will not be uploaded to the homebrew tap
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
# Default is false.
skip_upload: auto
# Custom block for brew.
# Can be used to specify alternate downloads for devel or head releases.
# Default is empty.
custom_block: head "https://github.com/hussar-lang/hussar.git"
# So you can `brew test` your formula.
# Default is empty.
test: system "#{bin}/hussar env"
archives:
- replacements:
darwin: MacOS
linux: Linux
windows: Windows
amd64: x84_64
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- CHANGELOG.md # should generate this
- examples/*
- assets/*
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT-{{ .ShortCommit }}"
release:
github:
owner: hussar-lang
name: hussar
prerelease: auto
name_template: "{{.Tag}}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^build:"
- "^cleanup:"
- "^release:"
- merge
- typo