summaryrefslogtreecommitdiffstats
path: root/models/release.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-04-14 22:42:17 +0800
committerskyblue <ssx205@gmail.com>2014-04-14 22:42:17 +0800
commit6cb636f8a0cd9e3fd8831c1a4dd597d965c93509 (patch)
tree83ac478dc59bce38f027ccf129c2adea55d3dda2 /models/release.go
parent8549b47e04a1461520d698bd87cbd67f1236508b (diff)
downloadgitea-6cb636f8a0cd9e3fd8831c1a4dd597d965c93509.tar.gz
gitea-6cb636f8a0cd9e3fd8831c1a4dd597d965c93509.zip
fix title extra quoted
Diffstat (limited to 'models/release.go')
-rw-r--r--models/release.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/release.go b/models/release.go
index 08d74d3f4f..1df6272029 100644
--- a/models/release.go
+++ b/models/release.go
@@ -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:") {