Browse Source

fix title extra quoted

for-closed-social
skyblue 10 years ago
parent
commit
6cb636f8a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/release.go

+ 1
- 1
models/release.go View File

@ -59,7 +59,7 @@ func CreateRelease(repoPath string, rel *Release, gitRepo *git.Repository) error
}
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 {
return err
} else if strings.Contains(stderr, "fatal:") {

Loading…
Cancel
Save