-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.goreleaser.yml
92 lines (83 loc) · 1.91 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
version: 2
before:
hooks:
- go mod tidy
- ./scripts/manpages.sh
- ./scripts/completions.sh
builds:
- binary: goji
main: ./
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
- arm
goarm:
- "7"
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarm: "7"
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/muandane/goji/cmd.version={{.Version}}
release:
prerelease: auto
universal_binaries:
- replace: true
archives:
- name_template: >-
{{- .ProjectName }}_v{{- .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
builds_info:
group: root
owner: root
files:
- README.md
- LICENSE
- manpages/*
- completions/*
brews:
- name: goji
homepage: "https://github.com/muandane/homebrew-tap"
repository:
owner: muandane
name: homebrew-tap
description: "Commitizen-like Emoji Commit Tool written in Go"
directory: Formula
dependencies:
- name: git
commit_author:
name: muandane
email: [email protected]
extra_install: |-
bash_completion.install "completions/goji.bash" => "goji"
zsh_completion.install "completions/goji.zsh" => "_goji"
fish_completion.install "completions/goji.fish"
man1.install "manpages/goji.1.gz"
winget:
- publisher: muandane
license: "Apache-2.0 license"
copyright: Muandane
homepage: "https://github.com/muandane/goji"
short_description: "Commitizen-like Emoji Commit Tool written in Go"
repository:
owner: "muandane"
name: winget-pkgs
branch: "{{.ProjectName}}-{{.Version}}"
pull_request:
enabled: true
draft: true
base:
owner: microsoft
name: winget-pkgs
branch: master
checksum:
name_template: 'checksums.txt'