mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 15:31:06 +01:00
fix title extra quoted
This commit is contained in:
parent
8549b47e04
commit
6cb636f8a0
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ func CreateRelease(repoPath string, rel *Release, gitRepo *git.Repository) error
|
||||||
}
|
}
|
||||||
|
|
||||||
if !git.IsTagExist(repoPath, rel.TagName) {
|
if !git.IsTagExist(repoPath, rel.TagName) {
|
||||||
_, stderr, err := com.ExecCmdDir(repoPath, "git", "tag", rel.TagName, "-m", "\""+rel.Title+"\"")
|
_, stderr, err := com.ExecCmdDir(repoPath, "git", "tag", rel.TagName, "-m", rel.Title)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
} else if strings.Contains(stderr, "fatal:") {
|
} else if strings.Contains(stderr, "fatal:") {
|
||||||
|
|
Loading…
Reference in a new issue