fix version json
This commit is contained in:
parent
4bd343ab3e
commit
b417063200
@ -23,7 +23,7 @@ async function run() {
|
|||||||
console.log('Branch: release');
|
console.log('Branch: release');
|
||||||
await fs.writeFile('./commit.txt', currentCommitHash);
|
await fs.writeFile('./commit.txt', currentCommitHash);
|
||||||
const version = await fs.readFile('./version.txt', 'utf-8');
|
const version = await fs.readFile('./version.txt', 'utf-8');
|
||||||
const nextVersion = version.trim();
|
nextVersion = version.trim();
|
||||||
console.log('Version from version.txt:', nextVersion);
|
console.log('Version from version.txt:', nextVersion);
|
||||||
} else {
|
} else {
|
||||||
console.log('Branch: master');
|
console.log('Branch: master');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user