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

Update version bump workflow #2905

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Update version bump workflow #2905

merged 2 commits into from
Dec 15, 2023

Conversation

vgrassia
Copy link
Member

Type of change

- [ ] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [X] Build/deploy pipeline (DevOps)
- [ ] Other

Objective

This PR updates how we bump version numbers and cut the rc branch. The new procedure is outlined below.

If you have more than one project to cut rc for:

  • Go to the DevOps repository and run the RC Branch Manager workflow with the following inputs.
    • cutmode.
    • Desired projects checked.
    • Version Number filled out.

You can also just run the Version Bump workflow in the repository by itself if you don't need to cut rc for multiple projects.

The following will take place:

  • The version number is verified.
  • The Version Bump workflow in the each repository is called via the GitHub CLI.
  • The version will be bumped, committed to a branch, PR created, PR approved, PR merged.
  • The Cut RC Branch workflow will run to create and push the rc branch.
  • A Slack message will be sent to notify of the PR.

Code changes

  • .github/workflows/_cut_rc.yml: Added to help cut the rc branch.
  • .github/workflows/version-bump.yml: Removed workflow_call trigger as it's no longer needed. Added input for cutting the rc branch.

Before you submit

  • Please check for formatting errors (dotnet format --verify-no-changes) (required)
  • If making database changes - make sure you also update Entity Framework queries and/or migrations
  • Please add unit tests where it makes sense to do so (encouraged but not required)
  • If this change requires a documentation update - notify the documentation team
  • If this change has particular deployment requirements - notify the DevOps team

@vgrassia vgrassia requested a review from a team December 15, 2023 00:09
@vgrassia vgrassia self-assigned this Dec 15, 2023
@vgrassia vgrassia enabled auto-merge (squash) December 15, 2023 00:17
@vgrassia vgrassia merged commit 6c078fe into main Dec 15, 2023
3 checks passed
@vgrassia vgrassia deleted the update-version-bump-workflow branch December 15, 2023 12:30
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.

2 participants