- Work in a branch. I sometimes go with
ship-<version-num>
, for example,ship-191
. - Find the current sprint using https://whatsprintis.it.
- Update the version to the major sprint number using
npm version --no-git-tag-version THE_SPRINT_VERSION
.
- Replace
THE_SPRINT_VERSION
withpatch
if you are doing a bugfix release.
- Ensure the CHANGELOG is up to date.
- Update the service schema.
- Create a PR on GitHub, mostly for tracking reasons.
- Manually queue a Release build against your PR branch.
- This will create a GitHub release at the commit you've specified!
- Ship the resulting package to the Marketplace.
- You can grab it from either the pipeline run or off GitHub itself.
- Run
npm version --no-git-tag-version patch
so that packages produced by CI are treated as newer than the released version. - Push that change and merge the PR. You can now delete the branch.
- Get the new schema from https://dev.azure.com/vscode-schema/_apis/distributedtask/yamlschema
- Replace
service-schema.json
with the results of that endpoint. - In VS Code, run
Format document
to keep the diff readable. - Update
$comment
with the Azure DevOps sprint info (you can see the sprint number in the lower left of the Azure DevOps UI at https://dev.azure.com/vscode-schema/).