Skip to content

ci: Improved changelog formatting and brew setup#102

Merged
DylanDevelops merged 2 commits intomainfrom
ravel/improved-changelog
Mar 26, 2026
Merged

ci: Improved changelog formatting and brew setup#102
DylanDevelops merged 2 commits intomainfrom
ravel/improved-changelog

Conversation

@DylanDevelops
Copy link
Copy Markdown
Owner

Pull Request Checklist

  • I have read and followed the contribution guidelines.
  • My pull request targets the main branch of tmpo.
  • I have tested these changes locally on my machine.

Description

This pull request updates the release workflow and packaging configuration to automate changelog generation, improve shell completion distribution, and streamline Homebrew packaging. The main themes are automating release notes, enhancing shell completion support, and updating packaging for consistency and maintainability.

Release automation and changelog generation:

  • Added a step to the GitHub Actions release workflow to generate release notes using git-cliff, and configured GoReleaser to use the generated notes during release creation. (.github/workflows/release.yml, cliff.toml) [1] [2]
  • Removed the old changelog section from .goreleaser.yml in favor of using git-cliff for changelog formatting and grouping.

Shell completion improvements:

  • Added build hooks to generate bash, zsh, and fish shell completion scripts before packaging, and included these scripts in both Windows and Unix archives. (.goreleaser.yml) [1] [2]
  • Updated the Homebrew packaging configuration to explicitly specify the generated shell completion files for each supported shell.

Packaging and configuration updates:

  • Changed archive configuration keys from builds/format to ids/formats for consistency with GoReleaser's latest schema.
  • Migrated from the deprecated brews key to homebrew_casks in .goreleaser.yml for Homebrew packaging.

@DylanDevelops DylanDevelops merged commit 9794d89 into main Mar 26, 2026
5 checks passed
@DylanDevelops DylanDevelops deleted the ravel/improved-changelog branch March 26, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant