GoReleaser can now create and publish Arch Linux
PKGBUILD files to Arch User Repositories!
This amazing new feature was sponsored by Charm.
How does it work?
The AUR is basically a group of Git repositories that, if you push the right set of files, are installable on an Arch Linux box using a tool like yay.
In order to push there, you’ll need to create an account on the AUR website and inform them of the public key you’ll be using to push.
Then you just need to add some configuration to your goreleaser.yaml file and…you’re done! GoReleaser will build everything for you, clone the repository, update the files, commit everything, and push it back.
**And that’s it! **You can now instruct your users to install your package with a command like
yay -S goreleaser-bin or
yay -S goreleaser-pro-bin. How awesome is that!?
Other notable features
- GoReleaser Pro now allows you to use
-key. This should help users without a license key test things locally, or on a CI job with less privileges (e.g. GitHub Actions on a pull request).
- And finally, both the OSS and Pro distributions now have man pages: run
man goreleaser-proto check them out.
- On GoReleaser Pro, custom variables should now be prefixed with
- We still don’t have a new date for our first community call. Personal life a little too busy lately, will try my best to schedule it ASAP. Link.
- GoReleaser now has ~9.5k stars and 262 contributors! Thanks, everyone!
- Our Discord server is getting new members almost daily. Join and chat with us!
Full disclosure: Charm is my current employer.
This is a cross-post from GoReleaser’s blog!