Live chat: Elton Minetto and Carlos Becker
A live chat with Elton Minetto about learning Go, GoReleaser, and more, in preparation for …
Happy March! Another release is here with several improvements across the board.
Let’s dig into some of the news!
Note Only on Pro.
The Cloudsmith integration now supports multiple distributions.
Note Only on Pro.
This is a long asked feature: publish your project to NPM.
NPM is great because pretty much every developer has it installed, and some enjoy installing binaries through it.
GoReleaser can generate the package for you, which will, upon install, download and extract the right archive from the release.
You can read more about it here.
Note Only on Pro.
GoReleaser Pro and OSS can already sign and notarize binaries, but DMGs and
.app
s are a whole different ordeal.
This version adds support to it, and you can read more about it here.
Note Only on Pro.
.IsMerging
: will be true
if its the final step of a
partial build;.IsRelease
: will be true
if its not a snapshot nor a
nightly build;reReplaceAll
: allows to use regular expressions to replace parts of the
string. More on that below!You can learn more about it here.
Both AUR and AUR Sources now support adding custom install scripts.
Also, you can now use aurs.disable
and aur_sources.disable
to conditionally
disable a particular configuration.
Similarly, you can now also use kos.disable
.
Read more about it here, here, and here.
Historically, when using the git
changeloger, we didn’t had many options.
We would use the oneline
format, and split on the first space, so we got both
the commit SHA and the message.
In this version, we started using a custom format, which allowed us to:
use: git
, including adding author name and emailWith the usage of the newly added reReplaceAll
function, you may also do
things like this:
changelog:
format: '{{ reReplaceAll "(.*) \\(#(.*)\\)" .Message "$1 [#$1](https://my.custom.tracker/issues/$2)" }}'
Which I think is pretty neat. :)
To make options more alike, archives.builds
, nfpms.builds
, and
snaps.builds
have been renamed to archives.ids
, nfpms.ids
, and
snaps.ids
.
All active deprecation warnings.
goreleaser healthcheck
will now properly check MSI and DMG
dependencies;goreleaser r --nightly
will now work on a repository with no tags;.dmg
files. Compatible with macOS 10.15+ (from 2019);You can install or upgrade using your favorite package manager, or see the full release notes and download the pre-compiled binaries from GitHub:
You can help by reporting issues, contributing features, documentation improvements, and bug fixes. You can also sponsor the project, or get a GoReleaser Pro license.