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 }) => { ...@@ -73,10 +73,7 @@ const manifestRunner: TaskRunner<ManifestOptions> = async ({ folder }) => {
const plugin = require(pluginPath); const plugin = require(pluginPath);
const url = `https://grafana.com/api/plugins/${plugin.id}/ci/sign`; const url = `https://grafana.com/api/plugins/${plugin.id}/ci/sign`;
manifest.plugin = plugin.id; manifest.plugin = plugin.id;
manifest.version = plugin.version; manifest.version = plugin.info.version;
if (!plugin.version) {
console.error('Missing version', plugin);
}
console.log('Request Signature:', url, manifest); console.log('Request Signature:', url, manifest);
const axios = require('axios'); 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