-
Notifications
You must be signed in to change notification settings - Fork 7
Releasing
Modify package.json
and modify the version
value.
Run npm install
to sync to version change into package-lock.json
file.
Modify CHANGELOG and README file if required.
Create a commit named Bump version and update changelog
on master
branch.
git commit -m "Bump version and update changelog"
Create an annotation tag on that commit and push tag.
git tag -s "v<version>" -m "Version <version>"
git push --tags
Here we will both publish onto marketplace and create a GitHub release.
Install vsce
if it's not installed yet.
npm install vsce
Login into Visual Studio Marketplace and publish the package
vsce login wdhongtw
vsce publish
See https://code.visualstudio.com/api/working-with-extensions/publishing-extension if any problem happens.
Or goto https://marketplace.visualstudio.com/manage/publishers/wdhongtw to publish new version with the web UI.
Now, Generate new package file.
# This command should generate a .vsix file
vsce package
Go to Releases page on GitHub, Create a new release on the new tag, and publish the new package.
- Set release title to
Version <version>
. - Add some description if applicable (e.g. from changelog).
- Select the new package file (
.vsix
) to upload - Mark This is a pre-release if we are still on
0.x.x
For Open VSX releasing, see https://github.com/eclipse/openvsx/wiki/Publishing-Extensions for more details.