Skip to content

Commit e609ee1

Browse files
committed
Add scoop bucket and aur
1 parent befeda8 commit e609ee1

File tree

2 files changed

+32
-7
lines changed

2 files changed

+32
-7
lines changed

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
version: latest
2828
args: release --rm-dist
2929
env:
30+
AUR_KEY: ${{ secrets.AUR_SSH_KEY }}
3031
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
31-
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
32-
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
32+
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}

.goreleaser.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@ before:
1111
builds:
1212
- main: ./main.go
1313
binary: sttr
14-
goos: ['linux', 'darwin', 'windows']
15-
goarch: ['386', 'amd64', 'arm64']
14+
goos: [ 'linux', 'darwin', 'windows' ]
15+
goarch: [ '386', 'amd64', 'arm64' ]
16+
ldflags:
17+
- -s -w -X "main.version={{.Version}}"
1618
env:
1719
- CGO_ENABLED=0
1820

1921
universal_binaries:
20-
- replace: true
22+
- replace: true
2123

2224
changelog:
2325
sort: 'asc'
2426
filters:
25-
exclude: ['^docs:', 'demo', '^hugo:', 'Merge pull request', 'Merge branch']
27+
exclude: [ '^docs:', 'demo', '^hugo:', 'Merge pull request', 'Merge branch' ]
2628

2729
brews:
2830
- tap:
@@ -42,6 +44,16 @@ brews:
4244
test: |
4345
system "#{bin}/sttr -v"
4446
47+
scoop:
48+
bucket:
49+
owner: abhimanyu003
50+
name: scoop-bucket
51+
token: "{{ .Env.GITHUB_TOKEN }}"
52+
name: sttr
53+
homepage: "https://github.com/abhimanyu003/sttr"
54+
description: "sttr is command line software that allows you to quickly run various transformation operations on the string."
55+
license: "MIT"
56+
4557
nfpms:
4658
- builds:
4759
- sttr
@@ -68,4 +80,17 @@ snapcrafts:
6880

6981
apps:
7082
sttr:
71-
plugs: ["home", "network"]
83+
plugs: [ "home", "network" ]
84+
85+
aurs:
86+
- name: sttr-bin
87+
homepage: "https://github.com/abhimanyu003/sttr"
88+
description: "sttr is command line software that allows you to quickly run various transformation operations on the string."
89+
maintainers:
90+
- 'Abhimanyu Sharma <abhimanyusharma003@gmail.com>'
91+
license: "MIT"
92+
private_key: '{{ .Env.AUR_KEY }}'
93+
git_url: 'ssh://aur@aur.archlinux.org/sttr-bin.git'
94+
commit_author:
95+
name: Abhimanyu Sharma
96+
email: abhimanyusharma003@gmail.com

0 commit comments

Comments
 (0)