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

ci: setup release-please to automate new releases #223

Merged
merged 3 commits into from Dec 29, 2022
Merged

Conversation

apricote
Copy link
Member

@apricote apricote commented Dec 28, 2022

Setup release-please using the release-please-action to automate creating new releases. The workflow is:

  • On every main commit the action will scan all commits made since the last release/tag
  • If there are "releaseable units" (commits with prefix fixor feat, see Conventional Commits), create/update release PR
    • With updated CHANGELOG.md
    • With updated Version in hcloud/hcloud.go
  • Once we want to release a new version, we merge the PR
  • On every main commit, the action will scan for merged release PRs that have no associated Git Tag/GitHub Release and then create tags and GitHub releases for them

If you want to see how this works in practice, checkout these links from my fork (until I delete the fork):

The output generated by gorelease is not used in any way and we can skip
calling it.
Copy link

@samcday samcday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants