Replace the fpm gem for building .deb packages with the nfpm library embedded within goreleaser.
Modify the Makefile to prefer invoking goreleaser for all artifacts. Per the .github/workflows/release.yaml workflow: this Makefile isn't used during the release process, it's inherited cruft.
Moving this logic from the Makefile, which we don't use, to goreleaser, which we do use, means the next tagged release will have a .deb attached with provenance.
This PR also upgrades the dependencies specified in dev.yml: ruby and golang to fresher versions.
Testing Instructions
make deb will produce dist/*.deb.
Re-running will recreate the build (not reuse): to fix that we'd have to git rev-parse instead of the VERSION file(?), and I don't want to do that.
Replace the
fpm
gem for building .deb packages with thenfpm
library embedded within goreleaser.Modify the Makefile to prefer invoking
goreleaser
for all artifacts. Per the.github/workflows/release.yaml
workflow: this Makefile isn't used during the release process, it's inherited cruft.Moving this logic from the
Makefile
, which we don't use, togoreleaser
, which we do use, means the next tagged release will have a.deb
attached with provenance.This PR also upgrades the dependencies specified in
dev.yml
: ruby and golang to fresher versions.Testing Instructions
make deb
will producedist/*.deb
.git rev-parse
instead of theVERSION
file(?), and I don't want to do that.Related