extension-tools
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "extension-tools", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "A collection of tools for automated publishing of browser extensions", | ||
@@ -5,0 +5,0 @@ "main": "exec.js", |
@@ -10,3 +10,3 @@ #!/usr/bin/env node | ||
function setVersionKey(manifestPath, newVersion) { | ||
var manifest = JSON.parse(fs.readFileSync(manifestPath)); | ||
var manifest = JSON.parse(fs.readFileSync(manifestPath).toString()); | ||
manifest.version = newVersion; | ||
@@ -53,2 +53,3 @@ fs.writeFileSync(manifestPath, JSON.stringify(manifest, null /* replacer */, 2) + '\n') | ||
var buildVersion = gitVersion.buildVersionFromGitVersion(version); | ||
console.log('Setting version to "%s"', buildVersion); | ||
setVersionKey(manifestPath, buildVersion); | ||
@@ -55,0 +56,0 @@ }).done(); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28597
650