fix: stop if no tags in place
This commit is contained in:
parent
0dc4b2beef
commit
c1a00520dc
|
@ -242,6 +242,10 @@ You may invoke this command in "wizard" mode and be prompted for input:
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if lastGitTag.String() == "" || lastGitTag.String() == ".." {
|
||||||
|
logrus.Fatal("no git tags found, please specify <version>")
|
||||||
|
}
|
||||||
|
|
||||||
newTag := lastGitTag
|
newTag := lastGitTag
|
||||||
var newtagString string
|
var newtagString string
|
||||||
if bumpType > 0 {
|
if bumpType > 0 {
|
||||||
|
|
Loading…
Reference in New Issue