devops: fix driver publish
This commit is contained in:
parent
2e01fbdbec
commit
e2013b29e3
|
|
@ -26,7 +26,7 @@ if (process.argv[2] === '--today-date') {
|
||||||
const day = date.getDate();
|
const day = date.getDate();
|
||||||
const year = date.getFullYear();
|
const year = date.getFullYear();
|
||||||
packageJSON.version = `${packageJSON.version}-alpha-${month}-${day}-${year}`;
|
packageJSON.version = `${packageJSON.version}-alpha-${month}-${day}-${year}`;
|
||||||
} else if (prcess.argv[2] === '--commit-timestamp') {
|
} else if (process.argv[2] === '--commit-timestamp') {
|
||||||
const timestamp = execSync('git show -s --format=%ct HEAD', {
|
const timestamp = execSync('git show -s --format=%ct HEAD', {
|
||||||
stdio: ['ignore', 'pipe', 'ignore']
|
stdio: ['ignore', 'pipe', 'ignore']
|
||||||
}).toString('utf8').trim();
|
}).toString('utf8').trim();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue