added projectPath parameter to running of git

pull/323/head
ninetyninereds 2022-01-24 16:45:30 +02:00
parent 018e347c3d
commit 8e10ed4438
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ export default class Versioning {
static async hasAnyVersionTags() { static async hasAnyVersionTags() {
const numberOfCommitsAsString = await System.run('sh', undefined, { const numberOfCommitsAsString = await System.run('sh', undefined, {
input: Buffer.from('git tag --list --merged HEAD | grep v[0-9]* | wc -l'), input: Buffer.from('git tag --list --merged HEAD | grep v[0-9]* | wc -l'),
cwd: this.projectPath,
silent: false, silent: false,
}); });