Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add changelog and goose version #544

Merged
merged 3 commits into from
Jun 29, 2023
Merged

chore: add changelog and goose version #544

merged 3 commits into from
Jun 29, 2023

Conversation

mfridman
Copy link
Collaborator

This PR is an experiment to better track unreleased work so when it's time to release we have all the correct bits.

To do so, there is a CHANGELOG.md file at the root, and there's also an "unreleased" version in main.go, e.g., the latest released version is v3.11.2 and so the current version is v3.12.0-dev.

Once it's time to release, we update the changelog and bump the version, commit, and tag that commit. Once that's done, we "go back to development" and reset both the changelog and version.

Resetting version means bumping the minor and adding the -dev suffix.

This does add a bit more friction, but ultimately it's a pattern I've seen adopted elsewhere. It's an experiment, if it doesn't work out we'll scrap the idea.

Most of this can be automated with goreleaser and pre- / post- hooks.

@mfridman mfridman merged commit d21bf4f into master Jun 29, 2023
8 checks passed
@mfridman mfridman deleted the add-changelog branch June 29, 2023 16:05
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.

None yet

1 participant