diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-12 07:45:33 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-12 07:45:33 -0400 |
commit | 1161c71ac1f6f2030c9e21633aa127c0cbfbdccb (patch) | |
tree | f0fb918d602a0e37c6cda4fae70b62c5f4dd0e08 /models/release.go | |
parent | c018b1a88dfa86eef865b1a575c45e21413eaafa (diff) | |
download | gitea-1161c71ac1f6f2030c9e21633aa127c0cbfbdccb.tar.gz gitea-1161c71ac1f6f2030c9e21633aa127c0cbfbdccb.zip |
Mirror fix
Diffstat (limited to 'models/release.go')
-rw-r--r-- | models/release.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/models/release.go b/models/release.go index e6c3d56152..314b7a91a9 100644 --- a/models/release.go +++ b/models/release.go @@ -61,8 +61,6 @@ func CreateRelease(gitRepo *git.Repository, rel *Release) error { if !gitRepo.IsTagExist(rel.TagName) { _, stderr, err := com.ExecCmdDir(gitRepo.Path, "git", "tag", rel.TagName, "-m", rel.Title) if err != nil { - return err - } else if strings.Contains(stderr, "fatal:") { return errors.New(stderr) } } else { |