-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yml
More file actions
144 lines (123 loc) · 3.27 KB
/
Copy path.goreleaser.yml
File metadata and controls
144 lines (123 loc) · 3.27 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
version: 2
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/shelfctl
binary: shelfctl
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- .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
files:
- README.md
- LICENSE
- docs/*
checksum:
name_template: 'checksums.txt'
brews:
- repository:
owner: blackwell-systems
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula
homepage: https://github.com/blackwell-systems/shelfctl
description: "Personal library manager for PDFs using GitHub Release assets"
license: MIT
scoops:
- repository:
owner: blackwell-systems
name: scoop-bucket
token: "{{ .Env.SCOOP_BUCKET_TOKEN }}"
directory: bucket
homepage: https://github.com/blackwell-systems/shelfctl
description: "Personal library manager for PDFs using GitHub Release assets"
license: MIT
nfpms:
- id: shelfctl
package_name: shelfctl
vendor: Blackwell Systems
homepage: https://github.com/blackwell-systems/shelfctl
maintainer: Dayna Blackwell <dayna@blackwellsystems.com>
description: "Personal library manager for PDFs using GitHub Release assets"
license: MIT
formats:
- deb
- rpm
contents:
- src: README.md
dst: /usr/share/doc/shelfctl/README.md
- src: LICENSE
dst: /usr/share/doc/shelfctl/LICENSE
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^ci:'
- '^chore:'
- 'typo'
release:
github:
owner: blackwell-systems
name: shelfctl
draft: false
prerelease: auto
mode: replace
header: |
## shelfctl {{ .Tag }}
Organize PDFs and books across GitHub using Release assets instead of git commits.
### Installation
**Homebrew (macOS/Linux)**:
```bash
brew install blackwell-systems/tap/shelfctl
```
**Install script (Linux/macOS)**:
```bash
curl -fsSL https://raw.githubusercontent.com/blackwell-systems/shelfctl/main/install.sh | sh
```
**pip (any platform)**:
```bash
pip install shelfctl
```
**Go install**:
```bash
go install github.com/blackwell-systems/shelfctl/cmd/shelfctl@{{ .Tag }}
```
**Scoop (Windows)**:
```powershell
scoop bucket add blackwell-systems https://github.com/blackwell-systems/scoop-bucket
scoop install shelfctl
```
**winget (Windows)**:
```powershell
winget install BlackwellSystems.shelfctl
```
**APT / RPM (Debian, Ubuntu, Fedora, RHEL)**:
Download the `.deb` or `.rpm` package from the assets below and install with `dpkg -i` or `rpm -i`.
**Download binary**:
Download the appropriate binary for your platform below.
footer: |
---
**Full changelog**: See [CHANGELOG.md](https://github.com/blackwell-systems/shelfctl/blob/{{ .Tag }}/CHANGELOG.md) for complete details.