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

Auto-releases #64

Open
2 tasks
ericbuckley opened this issue Oct 2, 2024 · 0 comments · May be fixed by #87
Open
2 tasks

Auto-releases #64

ericbuckley opened this issue Oct 2, 2024 · 0 comments · May be fixed by #87
Assignees
Labels
enhancement New feature or request ops

Comments

@ericbuckley
Copy link
Collaborator

ericbuckley commented Oct 2, 2024

Summary

Setup a process for automatically create releases upon events.

Acceptance Criteria

  • Create a pre-release CI job, triggered on merges to main
  • Create a release CI job, triggered on release tags

Details / Tasks

Creating a pre-release on merges

Every time we merge a PR into main, an action should kick off to create/update a pre-release. We can use an action like release-drafter or something similar for auto-generating the description of the Release. We should be comparing the HEAD on main to the last release tag, for calculating the differences. As for the name, please use the following syntax.
[YY.FF.BB]-rc.[CC]

  • YY: the current 2 digit year
  • FF: the next release for this calendar year (this should always be 1 more than the last release, the exception is when the year changes from the last release, in that case this should just be "01")
  • BB: the bugfix number for this planned release, for pre-releases this should always be "00"
  • CC: the number of commits to main since the last release

Creating a production release on new tags

When a new tag is added to main, that matches the vXX.XX.XX syntax, rename the existing pre-release title to match the new tag format.

Background / Context

Our tagging process loosely fits the CalVer system.

@ericbuckley ericbuckley added enhancement New feature or request ops labels Oct 2, 2024
This was referenced Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ops
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants