mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-05 13:15:26 +02:00
4c62e4c409
* docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: new docs with mkdocs Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: merge issues Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: merge issues Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: merge issues Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * feat: package.json for vercel/now deployment Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
442 B
442 B
title |
---|
Environment Variables |
Global environment variables to be passed down to all hooks and builds.
This is useful for GO111MODULE
, for example. You can have your
.goreleaser.yaml
file like the following:
# .goreleaser.yml
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
- binary: program
This way, both go mod download
and the underlying go build
will have
GO111MODULE
set to on
.