mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
d5c7af1db9
Supports passing environment variables to ldflags by using .Env.VARNAME. Closes #426
1.1 KiB
1.1 KiB
title |
---|
Introduction |
GoReleaser is a release automation tool for Go projects, the goal is to simplify the build, release and publish steps while providing variant customization options for all steps.
GoReleaser is built for CI tools; you only need to
download and execute it in your build script.
You can customize your release process by
creating a .goreleaser.yml
file.
The idea started with a simple shell script, but it quickly became more complex and I also wanted to publish binaries via Homebrew taps, which would have made the script even more hacky, so I let go of that and rewrote the whole thing in Go.
Installing Goreleaser
There are three ways to get going.
- Install Goreleaser via go get (
goreleaser
command will be globally available)go get github.com/goreleaser/goreleaser
- On a Mac use Homebrew.
- Install directly from the binaries.