Commit afec54d2 by Ryan McKinley Committed by GitHub

Tookit: set verison from info.version (#23511)

parent fc55c8d0
......@@ -73,10 +73,7 @@ const manifestRunner: TaskRunner<ManifestOptions> = async ({ folder }) => {
const plugin = require(pluginPath);
const url = `https://grafana.com/api/plugins/${plugin.id}/ci/sign`;
manifest.plugin = plugin.id;
manifest.version = plugin.version;
if (!plugin.version) {
console.error('Missing version', plugin);
}
manifest.version = plugin.info.version;
console.log('Request Signature:', url, manifest);
const axios = require('axios');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment