All apps/GoReleaser

GoReleaser

goreleaser

Release engineering, simplified.

Runs as goreleaser|macOS, Linux, Windows|goreleaser.com

Command form

ai-draft · 5 tasks · 22 fields

Build, release or check the current Go project. Uses the short command names b, r and c. Init, healthcheck and schema are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui goreleaser

goreleaser b

Build

Build the current project (goreleaser build).

BuildExample values, fixed in this page — nothing here reaches a terminal
Basic
Clean dist
--clean
Config file
file
Snapshot
--snapshot
Current platform only
--single-target
TasksEach one presets the form for one job
Local snapshot
cleansnapshotsingle_targetconfig
Build all targets
cleanconfigparallelism
ParametersOnly these flags are editable in the form
Clean dist
boolean
--clean
Config file
Defaults to .goreleaser.yaml.
path
--config-f
Snapshot
Unversioned snapshot, skipping validations.
boolean
--snapshot
Parallelism
integer
--parallelism-p
Timeout
For example 30m.
string
--timeout
Current platform only
boolean
--single-target
Copy binary to
Only with --single-target.
path
--output-o
Skip validation
boolean
--skip-validate

goreleaser r

Release

Release the current project (goreleaser release). Publishes artifacts unless skipped.

ReleaseExample values, fixed in this page — nothing here reaches a terminal
Basic
Clean dist
--clean
Config file
file
Advanced
Fail fast
--fail-fast
TasksEach one presets the form for one job
Release
cleanconfigfail_fast
Local dry run
cleansnapshotskip_publishskip_announce
ParametersOnly these flags are editable in the form
Clean dist
boolean
--clean
Config file
Defaults to .goreleaser.yaml.
path
--config-f
Snapshot
Unversioned snapshot, skipping validations.
boolean
--snapshot
Parallelism
integer
--parallelism-p
Timeout
For example 30m.
string
--timeout
Skip publishing
boolean
--skip-publish
Skip announcing
boolean
--skip-announce
Skip signing
boolean
--skip-sign
Skip git checks
boolean
--skip-validate
Fail fast
boolean
--fail-fast
Snapshot if dirty
boolean
--auto-snapshot
Release notes file
path
--release-notes

goreleaser c

Check config

Check that the configuration is valid (goreleaser check).

Check configExample values, fixed in this page — nothing here reaches a terminal
Basic
Config file
file
Quiet
--quiet
TasksEach one presets the form for one job
Check
configquiet
ParametersOnly these flags are editable in the form
Config file
path
--config-f
Quiet
boolean
--quiet-q
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed goreleaser against its version. A form that does not match your version is not offered.