|
|
@@ -24,7 +24,7 @@ function createTag(params: CreateTagParams) {
|
|
|
// last commit's SHA
|
|
|
commit: execSync('git rev-parse --short HEAD').toString().replace('\n', ''),
|
|
|
buildtime: dayjs().format('YYYY-MM-DD_HH:mm:ss'),
|
|
|
- version: execSync('npm pkg get version').toString().replace('\n', ''),
|
|
|
+ version: execSync('npm pkg get projectVersion').toString().replace('\n', ''),
|
|
|
};
|
|
|
// Ensure that the variable will not be modified
|
|
|
const evalExp = `
|