Skip to content

Commit

Permalink
Fix the package version check on CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
sedwards2009 committed Apr 26, 2022
1 parent 5f85c95 commit bfdcb4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_scripts/azure_release_version_check.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function checkReleaseVersion() {

const packageJson = fs.readFileSync('package.json');
const packageData = JSON.parse(packageJson);
packageVersion = packageData.version;
const packageVersion = packageData.version;
if (packageVersion !== tagName) {
log(`Error: Tag name '${tagName}' doesn't match the version '${packageVersion}' in package.json.`);
return 1;
Expand Down

0 comments on commit bfdcb4e

Please sign in to comment.