fix: handle no changes edge case for recipe release
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ce96269be0
commit
5254af0fe4
@ -372,6 +372,10 @@ func createReleaseFromPreviousTag(tagString, mainAppVersion string, recipe recip
|
|||||||
tagString = newTag.String()
|
tagString = newTag.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if lastGitTag.String() == tagString {
|
||||||
|
logrus.Fatalf("latest git tag (%s) and synced lable (%s) are the same?", lastGitTag, tagString)
|
||||||
|
}
|
||||||
|
|
||||||
if !internal.NoInput {
|
if !internal.NoInput {
|
||||||
prompt := &survey.Confirm{
|
prompt := &survey.Confirm{
|
||||||
Message: fmt.Sprintf("current: %s, new: %s, correct?", lastGitTag, tagString),
|
Message: fmt.Sprintf("current: %s, new: %s, correct?", lastGitTag, tagString),
|
||||||
|
Loading…
Reference in New Issue
Block a user