chore(build): separate version from build (#3447)
and cleared that thing and rotated it too
This commit is contained in:
1 parent
ef9363e8b9
commit
4938014a21
5 files changed
+61
-30
No files matched your search
+2
-1
@@ -65,6 +65,7 @@ async function run() {
|
||||
}
|
||||
|
||||
console.log('Next version:', nextVersion);
|
||||
console.log('Current commit hash:', currentCommitHash);
|
||||
|
||||
const versionInfo = { version: nextVersion, commit: currentCommitHash };
|
||||
await fs.writeFile('./version.json', JSON.stringify(versionInfo, null, 2));
|
||||
@@ -75,6 +76,6 @@ async function run() {
|
||||
}
|
||||
|
||||
run().catch(err => {
|
||||
console.error('Error encountered during version bump:', err);
|
||||
console.error('Error encountered during new version & commit write:', err);
|
||||
process.exit(1);
|
||||
});
|
||||
Reference in new issue
Block a user