mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove sentry
This commit is contained in:
@@ -11,6 +11,8 @@ const commitTime = childProcess.execSync("git log -1 --pretty=format:'%cd'").toS
|
||||
const commitMsg = childProcess.execSync("git log -1 --pretty=%B").toString().trim();
|
||||
const totalCommitCount = childProcess.execSync("git rev-list --count HEAD").toString().trim();
|
||||
const change = childProcess.execSync(`git diff -- ":!/version/git-version.ts" ":!/version/git-version.json" `,{cwd: rootDir }).toString().trim();
|
||||
const changeStatus = childProcess.execSync("git status").toString().trim();
|
||||
const changeAuthor = childProcess.execSync("whoami").toString().trim();
|
||||
|
||||
const versionInfo = {
|
||||
shortSHA: shortSHA,
|
||||
@@ -20,7 +22,9 @@ const versionInfo = {
|
||||
lastCommitTime: commitTime,
|
||||
lastCommitMessage: commitMsg,
|
||||
lastCommitNumber: totalCommitCount,
|
||||
change
|
||||
change,
|
||||
changeStatus,
|
||||
changeAuthor,
|
||||
}
|
||||
|
||||
const versionInfoJson = JSON.stringify(versionInfo, null, 2);
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user