Skip to content

HowTo: create a release

Adam Yoblick edited this page Jul 1, 2019 · 7 revisions
  1. Merge the current master int a release branch

    git fetch --all
    
    # checkout branches
    git checkout -B "release/3.0" "origin/release/3.0"
    git checkout -B master "origin/master"
    
    # merge
    git merge --no-ff --strategy=ours "release/3.0"
  2. ❗️ Carefully review the changes

  3. Push the changes.

    # switch branches and push
    git branch -D "release/3.0"
    git checkout -b "release/3.0"
    git push -u --force --recurse-submodules=check --progress "origin" "release/3.0"
  4. Create a release tag and push it

    1. Browse to https://maestro-prod.westus2.cloudapp.azure.com/19/https:%2F%2Fgithub.com%2Fdotnet%2Fcore-sdk/latest/graph and look at the build number and commit of winforms that’s in core-sdk
    2. Checkout the release/3.0 branch for winforms
    3. Create a new tag like this: git tag -a 4.8.0-preview6.190603.7 -m "preview 6 tag"
      1. 4.8.0 because it matches all our previous release tags
      2. Change the preview number to the current release
      3. 190603.7 because that matches the build number on the site above (if the Date Produced column for the "winforms" row is old, you'll need to wait for the core-setup build to finish)
    4. Push the tag to the origin like this: git push origin 4.8.0-preview6.190603.7