-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
73 lines (73 loc) · 1.86 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
version: 2
project_name: calma
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/calma/
binary: calma
ldflags:
- -s -w
- -X main.Version={{.Version}}
- -X main.Revision={{.ShortCommit}}
goos:
- darwin
- windows
env:
- CGO_ENABLED=0
- id: calma-linux
main: ./cmd/calma
binary: calma
ldflags:
- -s -w
- -X main.Version={{.Version}}
- -X main.Revision={{.ShortCommit}}
goos:
- linux
env:
- CGO_ENABLED=0
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- CREDITS
release:
prerelease: auto
brews:
- repository:
owner: ddddddO
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
directory: Formula
homepage: "https://github.com/ddddddO/calma"
description: "♻Calendar for Markdown♻ ...only for Japan!🎌"
license: "BSD-2-Clause"
scoops:
- repository:
owner: ddddddO
name: scoop-bucket
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/ddddddO/calma/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
homepage: "https://github.com/ddddddO/calma"
description: "♻Calendar for Markdown♻ ...only for Japan!🎌"
license: "BSD-2-Clause"
nfpms:
- id: calma-nfpms
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
builds:
- calma-linux
homepage: https://github.com/ddddddO/calma
maintainer: ddddddO <lbfdeatq@gmail.com>
description: "Calendar for Markdown ...only for Japan!"
license: BSD-2-Clause
formats:
- deb
- rpm
- apk
bindir: /usr/bin
epoch: 1