- Find the current sprint using https://whatsprintis.it.
- Work in a branch. I sometimes go with
ship-<version-num>
, for example,ship-191
. - Update the version to the major sprint number using
npm version --no-git-tag-version 1.THE_SPRINT_VERSION.0
.- Replace
THE_SPRINT_VERSION
withpatch
if you are doing a bugfix release.
- Replace
- 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.
- Go to a personal Azure DevOps organization that is not joined to a work-related AAD organization
- Get the new schema from https://dev.azure.com/YOUR-PERSONAL-ORG/_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 by going to https://dev.azure.com/YOUR-PERSONAL-ORG/_home/about).