How to create a TC-ECH release

Note: All these steps can be done through Visual Studio 2019 Git Flow tab but I am documenting how they can be done through command line.

1. Clone the repository of the solution that needs to be released to Prod. For example, OPP:

git clone https://transport-canada@dev.azure.com/transport-canada/Dynamics/_git/oppses

2. Checkout the master branch:

git checkout master

3. Create a release branch with the correct release version

git checkout -b release/<0.103.0> <-- Add correct release version number

4. Merge changes from develop branch to newly created release branch:

5. Merge release branch to master branch:

At this point, the release pipelines will be automatically triggered to deploy the solution into Prod.

5. Wait and see if the release pipeline succeeds:

6. Repeat above steps for all solutions that must be released.

 

SCEM Release with GitFlow

NOTE:: Download GitFlow in Visual studio & take the latest code before starting Release.

  1. Go to GitFlow and start Release

  2. Paste the Branch name & click Create Release

  3. Finish the Release & add tag which is same as Branch name

  4. Make sure all 4 check boxes (shown below) are selected and click OK

    1. Delete branch

    2. Force deletion

    3. Push changes to remote

    4. No back merge

  5. Screen Shot

  6. Go to Pipeline and Release must be in Progress.