All dates should align with VS Code's iteration and endgame plans.
Feature freeze is Monday @ 17:00 America/Vancouver, JUL 24.
NOTE: the number of this release is in the issue title and can be substituted in wherever you see [YYYY.minor].
Release candidate (Monday, Jul 31)
NOTE: Third Party Notices are automatically added by our build pipelines using https://tools.opensource.microsoft.com/notice.
Step 1:
Bump the version of main to be a release candidate (also updating debugpy dependences, third party notices, and package-lock.json).❄️ (steps with ❄️ will dictate this step happens while main is frozen 🥶)
NOTE: this PR will fail the test in our internal release pipeline called VS Code (pre-release) because the version specified in main is (temporarily) an invalid pre-release version. This is expected as this will be resolved below.
Step 2: Creating your release branch ❄️
NOTE: If there are release branches that are two versions old you can delete them at this time.
Step 3 Create a draft GitHub release for the release notes (🤖) ❄️
Step 4: Return main to dev and unfreeze (❄️ ➡ 💧)
NOTE: The purpose of this step is ensuring that main always is on a dev version number for every night's 🌃 pre-release. Therefore it is imperative that you do this directly after the previous steps to reset the version in main to a dev version before a pre-release goes out.
NOTE: this PR should make all CI relating to main be passing again (such as the failures stemming from step 1).
Step 5: Notifications and Checks on External Release Factors
Release (Wednesday, Aug 02)
Step 6: Take the release branch from a candidate to the finalized release
Step 7: Execute the Release
Prep for the next release
All dates should align with VS Code's iteration and endgame plans.
Feature freeze is Monday @ 17:00 America/Vancouver, JUL 24.
NOTE: the number of this release is in the issue title and can be substituted in wherever you see [YYYY.minor].
Release candidate (Monday, Jul 31)
NOTE: Third Party Notices are automatically added by our build pipelines using https://tools.opensource.microsoft.com/notice.
Step 1:
Bump the version of
mainto be a release candidate (also updating debugpy dependences, third party notices, and package-lock.json).❄️ (steps with ❄️ will dictate this step happens while main is frozen 🥶)mainon your local machine and rungit fetchto ensure your local is up to date with the remote repo.bump-release-[YYYY.minor].package.jsonto the next even number and switch the-devto-rc. (🤖)npm installto make surepackage-lock.jsonis up-to-date (you should now see changes to thepackage.jsonandpackage-lock.jsonat this point which update the version number only). (🤖)install_debugpy.pyif necessary.ThirdPartyNotices-Repository.txtas appropriate. You can check by looking at the commit history and scrolling through to see if there's anything listed there which might have pulled in some code directly into the repository from somewhere else. If you are still unsure you can check with the team.bump-release-[YYYY.minor]tomain. Add the"no change-log"tag to the PR so it does not show up on the release notes before merging it.NOTE: this PR will fail the test in our internal release pipeline called
VS Code (pre-release)because the version specified inmainis (temporarily) an invalid pre-release version. This is expected as this will be resolved below.Step 2: Creating your release branch ❄️
release/YYYY.minorbranch frommain. This branch is now the candidate for our release which will be the base from which we will release.NOTE: If there are release branches that are two versions old you can delete them at this time.
Step 3 Create a draft GitHub release for the release notes (🤖) ❄️
YYYY.minor.0.targetfor the github release be your release branch calledrelease/YYYY.minor.Generate release notes. Quickly check that it only contain notes from what is new in this release.Save draft.Step 4: Return
mainto dev and unfreeze (❄️ ➡ 💧)NOTE: The purpose of this step is ensuring that main always is on a dev version number for every night's 🌃 pre-release. Therefore it is imperative that you do this directly after the previous steps to reset the version in main to a dev version before a pre-release goes out.
bump-dev-version-YYYY.[minor+1].package.jsonto the nextYYYY.[minor+1]which will be an odd number, and switch the-rcto-dev.(🤖)npm installto make surepackage-lock.jsonis up-to-date (you should now see changes to thepackage.jsonandpackage-lock.jsononly relating to the new version number) . (🤖)mainand merge it.NOTE: this PR should make all CI relating to
mainbe passing again (such as the failures stemming from step 1).Step 5: Notifications and Checks on External Release Factors
Release (Wednesday, Aug 02)
Step 6: Take the release branch from a candidate to the finalized release
release/YYYY.minorbranch have been merged.release/YYYY.minorcalledfinalized-release-[YYYY.minor].package.jsonto remove the-rc(🤖) from the version.npm installto make surepackage-lock.jsonis up-to-date (the only update should be the version number ifpackage-lock.jsonhas been kept up-to-date). (🤖)ThirdPartyNotices-Repository.txtmanually if necessary.finalized-release-[YYYY.minor]againstrelease/YYYY.minorand merge it.Step 7: Execute the Release
release/YYYY.minorrelease branch (🤖).release/YYYY.minorbranch.run pipeline.branch/tagselect the release branch which isrelease/YYYY.minor.release/YYYY.minorback intomain. (This step is only required if changes were merged into the release branch. If the only change made on the release branch is the version, this is not necessary. Overall you need to ensure you DO NOT overwrite the version on themainbranch.)Prep for the next release