-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.goreleaser.yml
96 lines (85 loc) · 2.56 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
93
94
95
96
project_name: 'sttr'
# before are hooks that will be run before any builds are done, so good to put install scripts and stuff that your builds need here
before:
hooks:
# Remove unused packaged from the build process
- go mod tidy
- go generate
builds:
- main: ./main.go
binary: sttr
goos: [ 'linux', 'darwin', 'windows' ]
goarch: [ '386', 'amd64', 'arm64' ]
ldflags:
- -s -w -X "main.version={{.Version}}"
env:
- CGO_ENABLED=0
universal_binaries:
- replace: true
changelog:
sort: 'asc'
filters:
exclude: [ '^docs:', 'demo', '^hugo:', 'Merge pull request', 'Merge branch' ]
brews:
- tap:
owner: abhimanyu003
name: homebrew-sttr
name: sttr
homepage: "https://github.com/abhimanyu003/sttr"
description: "A cross-platform, cli app to perform various string operations."
license: "MIT"
skip_upload: auto
commit_author:
name: abhimanyu003
email: [email protected]
folder: Formula
install: |-
bin.install "sttr"
test: |
system "#{bin}/sttr -v"
scoop:
bucket:
owner: abhimanyu003
name: scoop-bucket
token: "{{ .Env.GITHUB_TOKEN }}"
name: sttr
homepage: "https://github.com/abhimanyu003/sttr"
description: "sttr is command line software that allows you to quickly run various transformation operations on the string."
license: "MIT"
nfpms:
- builds:
- sttr
vendor: abhimanyu003
homepage: "https://github.com/abhimanyu003/sttr/"
maintainer: "Abhimanyu Sharma <[email protected]>"
description: "A cross-platform, cli app to perform various operations on string"
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
snapcrafts:
- name: sttr
publish: true
summary: A cross-platform, cli app to perform various operations on string.
description: |
sttr is command line software that allows you to quickly run various transformation operations on the string.
grade: stable
confinement: strict
license: MIT
base: core20
apps:
sttr:
plugs: [ "home", "network" ]
aurs:
- name: sttr-bin
homepage: "https://github.com/abhimanyu003/sttr"
description: "sttr is command line software that allows you to quickly run various transformation operations on the string."
maintainers:
- 'Abhimanyu Sharma <[email protected]>'
license: "MIT"
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://[email protected]/sttr-bin.git'
commit_author:
name: Abhimanyu Sharma
email: [email protected]