Custom YAML marshal/unmarshal with Go
string
and []string
can be the same thing…
GoReleaser can now create and publish Arch Linux PKGBUILD
files to Arch User
Repositories!
neofetch in an Arch Linux container
This amazing new feature was sponsored by Charm.
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.
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!?
-snapshot
without a -key
. This should help users without a license key
test things locally, or on a CI job with fewer privileges (e.g. GitHub Actions
on a pull request).man goreleaser
or man goreleaser-pro
to check them out..Var
.Full disclosure: Charm is my current employer.
Shameless plug: Definitely check us out, we are building a bunch of cool OSS stuff!
This is a cross-post from GoReleaser’s blog!