Skip to content

Commit

Permalink
Merge pull request #29 from Microsoft/develop
Browse files Browse the repository at this point in the history
Dev to master with pbiviz version in build
  • Loading branch information
psmacmur authored Nov 27, 2018
2 parents 91ac2e7 + ea68d2c commit 668fe7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/packageVisual.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ const _buildPackage = (fileContent) => {
css: cssContent,
iconBase64: iconBase64
};
pbivizJson.visual.version = packageJson.version;

zip.file('package.json', JSON.stringify(buildPackageJson, null, 2));
zip.file(`resources/${pbivizJson.visual.guid}.pbiviz.json`, JSON.stringify(pbivizJson, null, 2));
fs.writeFileSync(pbivizJson.output, zip.generate({ base64:false,compression:'DEFLATE' }), 'binary');
Expand Down

0 comments on commit 668fe7f

Please sign in to comment.