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: also create a branch based on the tag to avoid dangling commits #1098

Conversation

jakobmoellerdev
Copy link
Contributor

@jakobmoellerdev jakobmoellerdev commented Nov 18, 2024

What this PR does / why we need it

currently our tagged releases do not have branch accomodating them, leading to dangling commits. (see https://github.com/open-component-model/ocm/tree/v0.18.0-rc.1 for an example)

This fixes this by also creating an appropriate release branch.

This might introduce issues with things like the release drafter though, so this is likely only the first line of commits for this.

Which issue(s) this PR fixes

fix #1099

currently our tagged releases do not have branch accomodating them, leading to dangling commits.

This fixes this by also creating an appropriate release branch.

This might introduce issues with things like the release drafter though, so this is likely only the first line of commits for this
@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner November 18, 2024 12:29
@jakobmoellerdev jakobmoellerdev added the do-not-merge Do not merge this PR yet! label Nov 18, 2024
@github-actions github-actions bot added the chore label Nov 18, 2024
Copy link
Contributor

@Skarlso Skarlso left a comment

Choose a reason for hiding this comment

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

The release note is only pushed into the main branch.

@jakobmoellerdev
Copy link
Contributor Author

The release note is only pushed to whichever branch the release is run on. This is independant of this change though

Skarlso
Skarlso previously approved these changes Nov 18, 2024
@jakobmoellerdev jakobmoellerdev changed the title chore: also create a tag to avoid dangling commits chore: also create a branch based on the tag to avoid dangling commits Nov 18, 2024
@jakobmoellerdev jakobmoellerdev merged commit 05a8228 into open-component-model:main Nov 18, 2024
18 checks passed
@hilmarf hilmarf added the kind/chore chore, maintenance, etc. label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/chore chore, maintenance, etc.
Projects
Status: 🔒Closed
Development

Successfully merging this pull request may close these issues.

avoid dangling commits as part of the release process
3 participants