fix: git tag need message
parent
74bbc8c933
commit
0836b22ae2
|
@ -219,7 +219,7 @@ func (a *action) doGit(finalOutput, version string) error {
|
||||||
a.log("Git commit output:\n%s", cmdOutput)
|
a.log("Git commit output:\n%s", cmdOutput)
|
||||||
|
|
||||||
if a.flags.autoGitTag {
|
if a.flags.autoGitTag {
|
||||||
cmdOutput, err = exec.Command("git", "tag", version).CombinedOutput()
|
cmdOutput, err = exec.Command("git", "tag", version, "-m", commitMsg).CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue