-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
61 lines (53 loc) · 1.41 KB
/
Copy path.goreleaser.yaml
File metadata and controls
61 lines (53 loc) · 1.41 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
version: 2
project_name: nssh
before:
hooks:
- go mod tidy
builds:
- id: nssh
main: ./cmd/nssh
binary: nssh
env:
- CGO_ENABLED=0
goos: [darwin, linux]
goarch: [amd64, arm64]
ldflags:
- -s -w -X main.buildVersion=v{{.Version}}
archives:
- id: nssh
ids: [nssh]
formats: [tar.gz]
checksum:
name_template: "checksums.txt"
homebrew_casks:
- name: nssh
repository:
owner: abizer
name: homebrew-tap
branch: master
token: "{{ .Env.TAP_TOKEN }}"
homepage: "https://github.com/abizer/nssh"
description: "Paste images into Claude Code over SSH"
commit_author:
name: github-actions[bot]
email: github-actions[bot]@users.noreply.github.com
commit_msg_template: "nssh {{ .Tag }}"
# Released binaries aren't notarized; strip the quarantine xattr on install
# so macOS doesn't refuse to launch them.
hooks:
post:
install: |
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/nssh"] if OS.mac?
# Populate the zap stanza so goreleaser's template doesn't emit a
# `# No zap stanza required` placeholder with a trailing blank line
# that trips Layout/EmptyLinesAroundBlockBody under `brew style`.
zap:
trash:
- "~/.config/nssh"
- "~/.local/state/nssh"
release:
github:
owner: abizer
name: nssh
changelog:
disable: true