Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 1.61 KB

RELEASE.md

File metadata and controls

23 lines (20 loc) · 1.61 KB

Releasing the extension

  1. Find the current sprint using https://whatsprintis.it.
  2. Work in a branch. I sometimes go with ship-<version-num>, for example, ship-191.
  3. Update the version to the major sprint number using npm version --no-git-tag-version 1.THE_SPRINT_VERSION.0.
    • Replace THE_SPRINT_VERSION with patch if you are doing a bugfix release.
  4. Ensure the CHANGELOG is up to date.
  5. Update the service schema.
  6. Create a PR on GitHub, mostly for tracking reasons.
  7. Manually queue a Release build against your PR branch.
    • This will create a GitHub release at the commit you've specified!
  8. Ship the resulting package to the Marketplace.
    • You can grab it from either the pipeline run or off GitHub itself.
  9. Run npm version --no-git-tag-version patch so that packages produced by CI are treated as newer than the released version.
  10. Push that change and merge the PR. You can now delete the branch.

Bumping service schema

  1. Go to a personal Azure DevOps organization that is not joined to a work-related AAD organization
  2. Get the new schema from https://dev.azure.com/YOUR-PERSONAL-ORG/_apis/distributedtask/yamlschema
  3. Replace service-schema.json with the results of that endpoint.
  4. In VS Code, run Format document to keep the diff readable.
  5. Update $comment with the Azure DevOps sprint info (you can see the sprint number by going to https://dev.azure.com/YOUR-PERSONAL-ORG/_home/about).