mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
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 year = date.getFullYear();
|
||||
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', {
|
||||
stdio: ['ignore', 'pipe', 'ignore']
|
||||
}).toString('utf8').trim();
|
||||
|
Loading…
Reference in New Issue
Block a user