Skip to content

Minor fixes for hotfix workflows#5702

Merged
andrewlock merged 2 commits into
masterfrom
andrew/ci/fix-hotfix-workflow
Jun 17, 2024
Merged

Minor fixes for hotfix workflows#5702
andrewlock merged 2 commits into
masterfrom
andrew/ci/fix-hotfix-workflow

Conversation

@andrewlock

Copy link
Copy Markdown
Member

Summary of changes

  • Don't create version bump PR for hotfix releases
  • Fix name of auto-created hotfix branches

Reason for change

Fixes a couple of bugs:

  • We never want to do a version bump PR for a hotfix release
  • When we were creating the hotfix branch originally, it was created with the wrong name (and the commit was incorrect)

Implementation details

The latter bug was because we weren't recompiling the nuke project between updating the version an emitting it. Fixed by splitting them to separate invocations.

Test coverage

Meh

@andrewlock andrewlock added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Jun 17, 2024
@andrewlock
andrewlock requested a review from a team as a code owner June 17, 2024 14:13
@andrewlock
andrewlock merged commit 9cbdb56 into master Jun 17, 2024
@andrewlock
andrewlock deleted the andrew/ci/fix-hotfix-workflow branch June 17, 2024 15:41
@github-actions github-actions Bot added this to the vNext-v2 milestone Jun 17, 2024
andrewlock added a commit that referenced this pull request Jun 19, 2024
* Don't output version in same run as changing the version

* Don't run create version bump PR for hotfix releases
@andrewlock andrewlock modified the milestones: vNext-v2, 2.53.2 Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants