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

Fix Not tagging Non-Release branches #322

Closed

Conversation

David-N-Perkins
Copy link

Summary of changes

According to the documentation non-release "branches and pull-requests generate versions postfixed with the commit hash and do not generate any tag."

This was not working correctly and tags were being created on all commits regardless of the branch being in RELEASE_BRANCHES.

This change disables tagging when it is a non-release branch. It also adds the branch name as a suffix instead of using the commit hash.

Breaking Changes

Do any of the included changes break current behavior or configuration?

YES for anyone relying on tagging for non-release branches.

How changes have been tested

  • I have tested this change in our local fork and other temporary repos against release and non-release branches. I did not test with all the other options.

@David-N-Perkins David-N-Perkins deleted the release-branch-fix branch September 12, 2024 14:40
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