-
Notifications
You must be signed in to change notification settings - Fork 2
Release Process
Option 1: Concurrent Releases - when there are multiple release branches active at the same
-
Checkout the currently active release branch in Visual Studio Code
-
Ensure you have synchronized the latest changes
-
Create the release branch using the convention release/{release-name}
Note 1: More than 2 parallel release branches is not recommended.
Note 2: After one release branch is merged to main, the release branch should be rebased to main. This may cause some minor conflicts.
Option 2: Sequential Releases - when there is no active release branches
-
Checkout the main branch in Visual Studio Code
-
Ensure you have synchronized the latest changes
-
Create the release branch using the convention release/{release-name}
Precondition: A pull request has been approved and merged into a release branch
- Click on the actions tab and find the most recent pending merge to release action
- Click on review deployments, select the test environment and then approve and deploy
- Verify that the deployment completes
-
Check to see if there is a Case Management component to the release, if so follow the instructions here: https://github.com/bcgov/nr-compliance-enforcement-cm/wiki/Release-Process
-
Create a pull request to merge the contents of the release branch into main
-
Approve the pull request via the Files Changed Tab
-
Click on the actions tab and find the "Release to Production Workflow" then click "Run Workflow"
- You will be prompted to enter the branch name, enter it as directed and press Run workflow
- If the next release branch has already been created, rebase the in progress release branch with main from your favorite development tool (I don't believe you can do this from Github).
The hotfix release process is very similar to the regular release process with the following key differences:
- The hotfix branch is always created off the main branch
- The hotfix branch is named with the convention hotfix/{ticket-number}
- The hotfix code will be merged into it's own test environment to allow the regular testing not be interrupted