GORELEASER(1)

๐Ÿ“ฆ
version 2.17.1 ยท 2 versions
, in nixpkgs unstable

โœจ goreleaser โ€” release engineering, simplified โœจ

okay so welcome to goreleaser(1), bestie ๐Ÿ’– this is the manual page for the goreleaser command (that's section 1 of the manuals, iykyk), and honestly? it's a whole vibe. let's get into it.


๐ŸŒธ NAME ๐ŸŒธ

goreleaser โ€” release engineering, simplified.


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

goreleaser [options...] [argument...]

๐Ÿ’œ DESCRIPTION ๐Ÿ’œ

Release engineering, simplified. that's it, that's the tagline, and it ate ๐Ÿ’…

GoReleaser is a release automation tool, built with love and care by @caarlos0 and many contributors. literally a labor of love, no cap ๐Ÿซถ

Complete documentation is available at https://goreleaser.com โ€” go read it, it's giving "everything you ever needed" energy.


โญ OPTIONS โญ

  • --verbose โ€” Enable verbose mode. it yells more. that's the whole thing. ๐Ÿ—ฃ๏ธ

๐Ÿ‘‘ COMMANDS ๐Ÿ‘‘

๐Ÿ›  build

Builds the current project. just you, your code, and a dream.

OPTIONS

  • --auto-snapshot โ€” Automatically sets --snapshot if the repository is dirty. messy repo? it handles it bestie ๐Ÿซง
  • --clean โ€” Removes the 'dist' directory before building. out with the old, periodt.
  • -f, --config โ€” Load configuration from file
  • --deprecated โ€” Force print the deprecation message - tests only. (yes it literally says "tests only", don't come for me ๐Ÿ’€)
  • --id โ€” Builds only the specified build ids
  • -o, --output โ€” Copy the binary to the path after the build. Only taken into account when using --single-target and a single id (either with --id or if configuration only has one build) โš ๏ธ so like, don't expect it to work in every scenario, okay?
  • -p, --parallelism โ€” Number of tasks to run concurrently (default: number of CPUs). multitasking icon โœจ
  • --single-target โ€” Builds only for current GOOS and GOARCH, regardless of what's set in the configuration file
  • --skip โ€” Skip the given options (valid options are: before, post-hooks, pre-hooks, validate)
  • --snapshot โ€” Generate an unversioned snapshot build, skipping all validations
  • --timeout โ€” Timeout to the entire build process

โœ… check [configuration files]

Checks if configuration is valid. a vibe check for your yaml, literally ๐ŸŒˆ

OPTIONS

  • -f, --config โ€” Configuration file(s) to check
  • --deprecated โ€” Force print the deprecation message - tests only
  • -q, --quiet โ€” Quiet mode: no output. shhh ๐Ÿคซ

๐Ÿš completion

Generate the autocompletion script for the specified shell. your shell, but make it psychic ๐Ÿ”ฎ

COMMANDS

๐ŸŒธ bash

Generate the autocompletion script for bash

OPTIONS

  • --no-descriptions โ€” disable completion descriptions

๐Ÿฆ‹ fish

Generate the autocompletion script for fish

OPTIONS

  • --no-descriptions โ€” disable completion descriptions

๐Ÿ’œ powershell

Generate the autocompletion script for powershell

OPTIONS

  • --no-descriptions โ€” disable completion descriptions

๐ŸŽ€ zsh

Generate the autocompletion script for zsh

OPTIONS

  • --no-descriptions โ€” disable completion descriptions

๐Ÿฉบ healthcheck

Checks if needed tools are installed. doctor's appointment for your toolchain ๐Ÿซถ

OPTIONS

  • -f, --config โ€” Configuration file
  • -q, --quiet โ€” Quiet mode: no output

๐Ÿ’ฌ help [command]

Help about any command. when in doubt, ask for help, it's giving healthy communication ๐Ÿ˜Œ


๐ŸŒฑ init

Generates a .goreleaser.yaml file. starter pack energy, main character origin story โœจ

OPTIONS

  • -f, --config โ€” Load configuration from file
  • -l, --language โ€” Which language will be used

๐Ÿงพ jsonschema

Outputs goreleaser's JSON schema. for the schema girlies ๐Ÿ’…

OPTIONS

  • -o, --output โ€” Where to save the JSONSchema file

๐Ÿš€ release

Releases the current project. the big one. the finale. the moment ๐Ÿ”ฅ

OPTIONS

  • --auto-snapshot โ€” Automatically sets --snapshot if the repository is dirty
  • --clean โ€” Removes the 'dist' directory
  • -f, --config โ€” Load configuration from file
  • --deprecated โ€” Force print the deprecation message - tests only
  • --draft โ€” Whether to set the release to draft. Overrides release.draft in the configuration file
  • --fail-fast โ€” Whether to abort the release publishing on the first error
  • -p, --parallelism โ€” Amount tasks to run concurrently (default: number of CPUs)
  • --release-footer โ€” Load custom release notes footer from a markdown file
  • --release-footer-tmpl โ€” Load custom release notes footer from a templated markdown file (overrides --release-footer)
  • --release-header โ€” Load custom release notes header from a markdown file
  • --release-header-tmpl โ€” Load custom release notes header from a templated markdown file (overrides --release-header)
  • --release-notes โ€” Load custom release notes from a markdown file (will skip GoReleaser changelog generation)
  • --release-notes-tmpl โ€” Load custom release notes from a templated markdown file (overrides --release-notes)
  • --skip โ€” Skip the given options (valid options are announce, archive, aur, aur-source, before, chocolatey, docker, flatpak, homebrew, ko, makeself, mcp, nfpm, nix, notarize, publish, sbom, scoop, sign, snapcraft, srpm, validate, winget) โ€” yes that's the whole list, I didn't skip any, I would never ๐Ÿ™ˆ
  • --snapshot โ€” Generate an unversioned snapshot release, skipping all validations and without publishing any artifacts (implies --skip=announce,publish,validate)
  • --timeout โ€” Timeout to the entire release process

๐Ÿฆ‹ EXAMPLES ๐Ÿฆ‹

okay so here's the actual group chat of example commands, bestie ๐Ÿซถ

Initialize your project:

goreleaser init

Verify your configuration:

goreleaser check

Verify dependencies:

goreleaser healthcheck

Build the binaries only:

goreleaser build

Run a snapshot release:

goreleaser release --snapshot

Run a complete release:

goreleaser release
ngl the last one is the final boss. do a --snapshot first, okay? it's giving self-care ๐Ÿ’–

and that's the page, bestie ๐ŸŽ€ this was goreleaser, the tool, written up for the goreleaser(1) manual, dated 2026-10-29. go forth and release things, you absolute icon ๐Ÿ‘‘โœจ๐Ÿ’œ

๐Ÿ“ฆ where this page comes from