grafana / grafana-plugin-examples

189 stars 53 forks source link

Update script using create-plugin update tool #290

Closed Ukochka closed 6 months ago

Ukochka commented 6 months ago

History: There was a script which @academo wrote to update grafana packages. It took desired grafana version and updated specific packages to this version.

Work: While fixing problems for mac OS I added some improvements to check first if the current version is newer than target version and leave it as it is to avoid downgrading

Latest updates: But we decide to use npx create-plugin@latest update to update plugins from now on, because in the future we want to make it automatically. So this PR is a first step to do it. After there will be several PRs about updates themself