Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ nfpms:
mode: 0644
scripts:
postinstall: packaging/postinstall.sh
# pacman runs post_install() only on a fresh install; replacing an existing
# version (pacman -U / -Syu) runs post_upgrade() instead. Without this the
# setcap is skipped on upgrades and the binary loses its eBPF caps. deb/rpm
# re-run postinstall on upgrade already, so only archlinux needs this.
archlinux:
scripts:
postupgrade: packaging/postinstall.sh

checksum:
name_template: checksums.txt
Expand Down