-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
96 lines (85 loc) · 1.93 KB
/
Copy path.goreleaser.yml
File metadata and controls
96 lines (85 loc) · 1.93 KB
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
version: 2
project_name: pyproject-tui
dist: dist
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- id: pyproject-tui
main: ./cmd/pyproject-tui
binary: pyproject-tui
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
ldflags:
- -s -w
- -X github.com/programmersd21/pyproject-tui/cmd/pyproject-tui.version={{.Env.VERSION}}
- -X github.com/programmersd21/pyproject-tui/cmd/pyproject-tui.commit={{.Commit}}
- -X github.com/programmersd21/pyproject-tui/cmd/pyproject-tui.date={{.Date}}
archives:
- id: pyproject-tui
builds:
- pyproject-tui
name_template: >-
{{ .ProjectName }}_
{{- .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
formats:
- zip
files:
- README.md
- LICENSE
- CHANGELOG.md
checksum:
name_template: "checksums.txt"
algorithm: sha256
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
use: github
sort: asc
groups:
- title: " Features"
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: " Bug Fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: " Documentation"
regexp: "^.*docs[(\\w)]*:+.*$"
order: 2
- title: " Chore"
order: 999
filters:
exclude:
- "^Merge pull request"
- "^Merge branch"
- "^chore: release"
release:
github:
owner: programmersd21
name: pyproject-tui
name_template: "v{{ .Version }}"
footer: |
## Installation
### Go install
```sh
go install github.com/programmersd21/pyproject-tui/cmd/pyproject-tui@latest
```
### Download binary
See the assets below for your platform.