mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +02:00
docs: sync with pro
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
06d0ce0f4a
commit
e1849f1aa9
@ -89,11 +89,36 @@ archives:
|
||||
# format is `time.RFC3339Nano`
|
||||
mtime: 2008-01-02T15:04:05Z
|
||||
|
||||
# Before and after hooks for each archive.
|
||||
# Skipped if archive format is binary.
|
||||
# This feature is available in [GoReleaser Pro](/pro) only.
|
||||
hooks:
|
||||
before:
|
||||
- make clean # simple string
|
||||
- cmd: go generate ./... # specify cmd
|
||||
- cmd: go mod tidy
|
||||
output: true # always prints command output
|
||||
dir: ./submodule # specify command working directory
|
||||
- cmd: touch {{ .Env.FILE_TO_TOUCH }}
|
||||
env:
|
||||
- 'FILE_TO_TOUCH=something-{{ .ProjectName }}' # specify hook level environment variables
|
||||
|
||||
after:
|
||||
- make clean
|
||||
- cmd: cat *.yaml
|
||||
dir: ./submodule
|
||||
- cmd: touch {{ .Env.RELEASE_DONE }}
|
||||
env:
|
||||
- 'RELEASE_DONE=something-{{ .ProjectName }}' # specify hook level environment variables
|
||||
|
||||
# Disables the binary count check.
|
||||
# Default: false
|
||||
allow_different_binary_count: true
|
||||
```
|
||||
|
||||
!!! success "GoReleaser Pro"
|
||||
Archive hooks is a [GoReleaser Pro feature](/pro/).
|
||||
|
||||
!!! tip
|
||||
Learn more about the [name template engine](/customization/templates/).
|
||||
|
||||
|
@ -31,7 +31,12 @@ furies:
|
||||
-
|
||||
# fury.io account.
|
||||
# Config is skipped if empty
|
||||
account: my-account
|
||||
account: "{{ .Env.FURY_ACCOUNT }}"
|
||||
|
||||
# Skip the announcing feature in some conditions, for instance, when publishing patch releases.
|
||||
# Valid options are `true`, `false`, empty, or a template that evaluates to a boolean (`true` or `false`).
|
||||
# Defaults to empty - which means false.
|
||||
skip: "{{gt .Patch 0}}"
|
||||
|
||||
# Environment variable name to get the push token from.
|
||||
# You might want to change it if you have multiple fury configurations for some reason.
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
GoReleaser Pro is a paid, closed-source GoReleaser distribution with some additional features:
|
||||
|
||||
- [x] Have custom [before and after hooks for achives](/customization/archive/);
|
||||
- [x] Prepare a release with [`goreleaser release --prepare`](/cmd/goreleaser_release/), publish and announce it later with [`goreleaser publish`](/cmd/goreleaser_publish/) and [`goreleaser announce`](/cmd/goreleaser_announce/);
|
||||
- [x] Preview and test your next release's changelog with [`goreleaser changelog`](/cmd/goreleaser_changelog/);
|
||||
- [x] Continuously release [nightly builds](/customization/nightlies/);
|
||||
@ -18,7 +19,7 @@ GoReleaser Pro is a paid, closed-source GoReleaser distribution with some additi
|
||||
|
||||
## Roadmap
|
||||
|
||||
The roadmap is not public (yet), but we do have a couple of ideas and your input is always welcome!
|
||||
The roadmap is not public (yet), but we do have a couple of ideas, and your input is always welcome!
|
||||
Once you buy it, feel free to [email me](mailto:carlos@becker.software?subject=GoReleaser%20Feature%20Suggestion) with your suggestions.
|
||||
|
||||
## Pricing & Sponsors
|
||||
|
Loading…
x
Reference in New Issue
Block a user