Fix Version Num to use tags in form of #.#.# or v#.#.#
parent
ca9d445c3c
commit
9f3c744503
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue