Protocol Version Verification
- Ensure the Snyk Language Server Protocol version is correct in the plugin.
ProtocolVersioninLsConstants
Update Changelog
- In the plugin/extension repo, make sure the the Changelog is updated with the correct version to be released and the correct changes in the release.
- Make sure Early Access are specified correctly for new feature.
Preview Version Verification
- Trigger or wait for the preview release workflow to build a preview version on the commit that will be used for the release.
- The preview release workflow runs automatically on pushes to main.
- Install the preview version from the marketplace and verify that the changes listed in the changelog are present and working correctly.
Initiate Release
-
If you want to do a hotfix with a subset of commits from main, create a hotfix branch off the previous release tag.
- For the hotfix release, cherry pick the commits you want to go into the hotfix release.
-
Trigger the release workflow in GitHub Actions.
- Select the appropriate version type (major, minor, patch).
- If this is a hotfix not off main, select the hotfix branch.
Marketplace Availability
- Check that the new release appears on all relevant Marketplaces.
Installation and Version Verification
-
Install the plugin or extension in the target IDE.
-
Confirm that the installed version matches the intended release.
CLI Configuration and Verification
-
Ensure the Snyk CLI release channel is set to
stableand automatic update is enabled. -
Execute the CLI binary in the terminal and verify that the version matches the intended release.
- The correct version can be found in the
#hammerhead-releaseschannel in Slack or in the github cli repo. https://github.com/snyk/cli/releases
- The correct version can be found in the
Manual End-to-End Test
- Manually run a scan using the latest version of the plugin to confirm end-to-end functionality.