-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
127 lines (115 loc) · 3.1 KB
/
Copy path.goreleaser.yaml
File metadata and controls
127 lines (115 loc) · 3.1 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
version: 2
project_name: slacktokens
before:
hooks:
- go mod tidy
builds:
- id: slacktokens
main: ./cmd/slacktokens
binary: slacktokens
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{ .Version }}
goos: [darwin, linux, windows]
goarch: [amd64, arm64]
- id: slacktokens-mcp
main: ./cmd/slacktokens-mcp
binary: slacktokens-mcp
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{ .Version }}
goos: [darwin, linux, windows]
goarch: [amd64, arm64]
archives:
- id: default
ids: [slacktokens, slacktokens-mcp]
name_template: >-
{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}
formats: [tar.gz]
format_overrides:
- goos: windows
formats: [zip]
files:
- LICENSE
- README.md
checksum:
name_template: SHA256SUMS.txt
algorithm: sha256
nfpms:
- id: deb
package_name: slacktokens
file_name_template: >-
{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}
ids: [slacktokens, slacktokens-mcp]
vendor: Hesham Karm
homepage: https://github.com/hishamkaram/slacktokens
maintainer: Hesham Karm <hesham@anymindgroup.com>
description: |-
Extract Slack workspace tokens (xoxc-) and authentication cookies (xoxd-)
from the Slack desktop app's local storage. Go port of hraftery/slacktokens.
license: GPL-3.0-or-later
formats: [deb]
bindir: /usr/bin
section: utils
brews:
- name: slacktokens
ids: [default]
repository:
owner: hishamkaram
name: homebrew-slacktokens
branch: main
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Formula
homepage: https://github.com/hishamkaram/slacktokens
description: Extract Slack workspace tokens and authentication cookies from the desktop app
license: GPL-3.0-or-later
commit_author:
name: hishamkaram
email: hesham@anymindgroup.com
test: |
assert_match "Usage of", shell_output("#{bin}/slacktokens --help 2>&1")
assert_predicate bin/"slacktokens-mcp", :exist?
install: |
bin.install "slacktokens"
bin.install "slacktokens-mcp"
release:
github:
owner: hishamkaram
name: slacktokens
draft: false
prerelease: auto
name_template: "v{{ .Version }}"
header: |
## slacktokens v{{ .Version }}
footer: |
---
**Install via Homebrew:**
```sh
brew install hishamkaram/slacktokens/slacktokens
```
**Install via apt (download the .deb):**
```sh
curl -fsSLO https://github.com/hishamkaram/slacktokens/releases/download/v{{ .Version }}/slacktokens_v{{ .Version }}_linux_amd64.deb
sudo dpkg -i slacktokens_v{{ .Version }}_linux_amd64.deb
```
**Install via go:**
```sh
go install github.com/hishamkaram/slacktokens/cmd/slacktokens@v{{ .Version }}
go install github.com/hishamkaram/slacktokens/cmd/slacktokens-mcp@v{{ .Version }}
```
changelog:
use: github
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- Merge pull request
- Merge branch