Skip to content

Release notes

Sean Chok edited this page Sep 22, 2022 · 5 revisions

How to make a release for vscode-deploifai

Step 1: Make a pre-release commit to bump version:

First, make sure to bump the version in package.json.

To bump the version to the next version, use the command:

# There are various flags that could be used to auto-increment. 
# See https://classic.yarnpkg.com/en/docs/cli/version#toc-yarn-version-patch
yarn version

It will prompt for a new version. Enter the new version.

Then, simply push to GitHub:

git push origin main
git push --tags

This will push the commit as well as the tags that can be used to create a Release.

Step 2: Create a Release on GitHub

Go to GitHub and start creating a Release.

  1. Select the tag that was just pushed.
  2. Auto-generate the changelog.
  3. Publish the release.

The VSCode extension will be published automatically with the same version as the tag selected, alongside an updated CHANGELOG.md committed to main.

After releasing

Pull your main branch because the release GitHub workflow will commit changes to CHANGELOG.md.