Fix Version Num to use tags in form of #.#.# or v#.#.#

pull/370/head
Kacy-Luker 2022-03-31 10:59:51 -05:00
parent ca9d445c3c
commit 9f3c744503
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,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 -E "v?[0-9]*" | wc -l'),
cwd: this.projectPath, cwd: this.projectPath,
silent: false, silent: false,
}); });