added projectPath parameter to running of git (#323)

This commit is contained in:
ninetyninereds 2022-01-24 18:09:26 +02:00 committed by GitHub
parent 018e347c3d
commit 7871734e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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