Skip to content

Commit

Permalink
dev: publish AUR -bin automatically (#5146)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Nov 21, 2024
1 parent a41fe44 commit 4ab3dca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,35 @@ chocolateys:
skip_publish: false
goamd64: v1

aurs:
- description: Fast linters runner for Go.
skip_upload: false
homepage: https://golangci.com
provides:
- "golangci-lint"
maintainers:
- "Fernandez Ludovic <lfernandez dot dev at gmail dot com>"
license: GPL-3.0
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/golangci-lint-bin.git"
commit_author:
name: golangci-releaser
email: [email protected]
package: |-
# bin
install -Dm755 "./golangci-lint" "${pkgdir}/usr/bin/golangci-lint"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/golangci-lint/LICENSE"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
./golangci-lint completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/golangci-lint"
./golangci-lint completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_golangci-lint"
./golangci-lint completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/golangci-lint.fish"
nfpms:
-
id: golangci-lint-nfpms
Expand Down

0 comments on commit 4ab3dca

Please sign in to comment.