-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
72 lines (61 loc) · 1.4 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
build:
binary: rocket-lang
main: main.go
ldflags:
- >
-s -w
-X github.com/flipez/rocket-lang/repl.buildVersion={{.Version}}
-X github.com/flipez/rocket-lang/repl.buildDate={{.Date}}
goos:
- linux
- darwin
- freebsd
- windows
goarch:
- amd64
- arm
- arm64
env:
- CGO_ENABLED=0
archives:
- name_template: "{{.Binary}}_{{.Os}}_{{.Arch}}_{{.Tag}}"
release:
draft: true
snapshot:
name_template: "{{.Tag}}"
checksum:
name_template: "checksums.txt"
nfpms:
- vendor: Flipez
homepage: https://rocket-lang.org
maintainer: Flipez <[email protected]>
description: Implementation of the monkey lang
license: MIT
formats:
- apk
- deb
- rpm
id: packages
file_name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}_{{ .Tag }}"
# .goreleaser.yml
brews:
-
name: rocket-lang
tap:
owner: flipez
name: homebrew-tap
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: Flipez
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://auch.cool/"
license: "MIT"
publishers:
- name: fury.io
ids:
- packages
dir: "{{ dir .ArtifactPath }}"
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/flipez/