Description
As part of our release process, we tag the current version with a vX
tag, and the plugin submodule with a plugin/vX
tag to keep versions in-sync. However, the plugin submodule has its own go.mod
that depends on a specific version of the grafana-app-sdk
, and which doesn't get changed until after the release, meaning it always is at least one version behind. When doing local development and building, this issue is not exposed because the go.work
file has the plugin submodule use the local version of the main module, but when using them as dependencies in an app, the plugin submodule uses what's in its go.mod
, which can lead to interface mismatches when minor versions change.
Th proper solution to this is to release the main module, bump the plugin go.mod
version, then release the plugin module for that version.