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

Release Branches #374

Merged
merged 20 commits into from
Jan 25, 2023
Merged

Release Branches #374

merged 20 commits into from
Jan 25, 2023

Conversation

freddydk
Copy link
Contributor

@freddydk freddydk commented Jan 23, 2023

A Partner filed two bugs on release branches - #360 and #371

I created an end-2-end scenario test, which tested how release branches was intended to work.

This did unfortunately reveal a few bugs in release branches handling, which all are fixed in this PR.

  • Release branches was named after the full tag (1.0.0), even though subsequent hotfixes released from this branch would be 1.0.x
  • Release branches named 1.0 wasn't picked up as a release branch
  • Release notes contained the wrong changelog
  • The previous release was always set to be the first release from a release branch
  • SemVerStr could not have 5 segments after the dash
  • Release was created on the right SHA, but the release branch was created on the wrong SHA

Also added some CI tests for the SemVer conversion functions and added comments to the code for these.

This PR also contains a fix for #376

And it contains updates to documentation on settings:

  • CICDPushBranches
  • CICDPullRequestBranches
  • CICDSchedule
  • UpdateGitHubGoSystemFilesSchedule

Actions/Github-Helper.psm1 Outdated Show resolved Hide resolved
Actions/Github-Helper.psm1 Outdated Show resolved Hide resolved
@freddydk freddydk merged commit 3bd828f into microsoft:main Jan 25, 2023
@freddydk freddydk deleted the issue360 branch January 25, 2023 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants