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 | |
parent | c018b1a88dfa86eef865b1a575c45e21413eaafa (diff) | |
download | gitea-1161c71ac1f6f2030c9e21633aa127c0cbfbdccb.tar.gz gitea-1161c71ac1f6f2030c9e21633aa127c0cbfbdccb.zip |
Mirror fix
-rw-r--r-- | .gobuild.yml | 1 | ||||
-rw-r--r-- | models/release.go | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/.gobuild.yml b/.gobuild.yml index 6a2a3ebe75..2570717edb 100644 --- a/.gobuild.yml +++ b/.gobuild.yml @@ -1,6 +1,5 @@ filesets: includes: - - conf - templates - public - LICENSE 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 { |