- Choose your new target version number. For this, we'll use "0.1.2".
- Make a branch to ship from.
git switch -c ship-0.1.2
- Release the service first.
cd language-service
- Bump the language-service version.
npm version --no-git-tag-version 0.1.2
- Ensure there's an entry for this new version in the service
changelog.md
. - Commit and push.
git commit -am "version service" && git push -u origin ship-0.1.2
- This step creates a GitHub Release Run the service release pipeline, targeting your ship branch. (NB: make sure you're logged into Azure DevOps. It's a public project so you can view it anonymously, and may have to explicitly log in from the upper right.)
- Assuming the build works, download the
.tgz
either from Artifacts on the build summary page or from the new GitHub release that was created. - Publish this to npm.
npm publish azure-pipelines-language-service-0.1.2.tgz
- Bump the language-service version.
- Bump the dependency in the server.
- Get to the right directory.
cd ../language-server
- Update the dependency.
npm i [email protected] --save-exact
- Get to the right directory.
- Release the server. (You're already in the right directory if you followed the above steps.)
- Bump the language-server version.
npm version --no-git-tag-version 0.1.2
- Ensure there's an entry for this new version in the server
changelog.md
. (TODO/improvement: we should hardlink the server/service changelog files, as there's never a time when they should differ.) - Commit and push.
git commit -am "version server" && git push -u origin ship-0.1.2
- This step creates a GitHub Release Run the server release pipeline, targeting your ship branch.
- Assuming the build works, download the
.tgz
either from Artifacts on the build summary page or from the new GitHub release that was created. - Publish this to npm.
npm publish azure-pipelines-language-server-0.1.2.tgz
- Bump the language-server version.
- Create a PR from your ship branch to
main
. Merge it. 🎉 you're done!