Skip to content

Commit 4ab3092

Browse files
authored
feat: release pillager on aur (#123)
Co-authored-by: brittonhayes <brittonhayes@users.noreply.github.com>
1 parent 66480a9 commit 4ab3092

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
args: release --clean
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
35+
AUR_KEY: ${{ secrets.AUR_KEY }}
3536

3637
build-and-push-image:
3738
runs-on: ubuntu-latest

.goreleaser.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,26 @@ brews:
5757
homepage: "https://github.com/brittonhayes/pillager"
5858
description: "Pillage filesystems for sensitive information"
5959
license: "MIT"
60+
61+
aurs:
62+
- name: pillager-bin
63+
homepage: "https://github.com/brittonhayes/pillager"
64+
description: "Pillage filesystems for sensitive information"
65+
maintainers:
66+
- "brittonhayes <brittonhayes@users.noreply.github.com>"
67+
license: "MIT"
68+
private_key: "{{ .Env.AUR_KEY }}"
69+
git_url: "ssh://aur@aur.archlinux.org/pillager-bin.git"
70+
provides:
71+
- pillager
72+
package: |-
73+
# bin
74+
install -Dm755 "./pillager" "${pkgdir}/usr/bin/pillager"
75+
76+
# license
77+
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/pillager/LICENSE"
78+
commit_author:
79+
name: "brittonhayes"
80+
email: "brittonhayes@users.noreply.github.com"
81+
commit_msg_template: "Update to {{ .Tag }}"
82+
goamd64: v1

0 commit comments

Comments
 (0)