IMPORTANT: Do not push release tags manually. The entire release process is automated via GitHub Actions.
Use the "Bump Version and release" workflow:
- Click "Run workflow"
- Keep branch:
main - Select the semver type:
patch,minor, ormajor - Click "Run workflow"
- patch -- bug fixes, dependency updates, documentation changes
- minor -- new features (e.g. adding a new validator)
- major -- breaking changes to the CLI interface, output format, or public API
The workflow bumps the version in package.json, commits to main, and pushes a v* tag. The tag push automatically triggers the "Create release and publish" workflow, which:
- Builds binaries via GoReleaser (Linux, Windows, Darwin) and creates a GitHub Release
- Publishes to npm (
@grafana/plugin-validator) - Pushes a Docker image to
grafana/plugin-validator-cli(tagged with the version andlatest)
The MCP server has its own, independent release track. Use the "Release MCP Server" workflow:
- Click "Run workflow"
- Keep branch:
main - Select the semver type:
patch,minor, ormajor - Click "Run workflow"
This bumps the version in mcp-package/package.json, commits to main, and pushes a mcp/v* tag. The tag push automatically triggers the "Create MCP release and publish" workflow, which:
- Builds binaries via GoReleaser (Linux, Windows, Darwin -- both amd64 and arm64) and creates a GitHub Release
- Publishes to npm (
@grafana/plugin-validator-mcp)
Note
For security purposes, external contributors don't usually have permissions to create new releases.
GitHub and NPM tokens are required to auto-publish. These tokens eventually expire. If there's an error pushing tags to GitHub or updates to npm, review the token expiration. See the secrets usage table for details on which secrets are used and who owns them.