Skip to content

Commit

Permalink
log upd version
Browse files Browse the repository at this point in the history
  • Loading branch information
iower committed Dec 12, 2023
1 parent 08a7810 commit f9945dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/update_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const newVersion = [major, minor, newPatch].join('.') + '-' + newUluVersion;

const newPackageJsonContent = packageJsonContent.replace(`"version": "${currentVersion}"`, `"version": "${newVersion}"`);

console.log(`[update_version] ${currentVersion} -> ${newVersion}\n`);

fs.writeFileSync(PATCH_VERSION_PATH, String(newPatch), 'utf-8');
fs.writeFileSync(PACKAGE_JSON_PATH, newPackageJsonContent, 'utf-8');
fs.writeFileSync(VERSION_TXT_PATH, newVersion, 'utf-8');
Expand Down

0 comments on commit f9945dc

Please sign in to comment.