1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00

Mirror fix

This commit is contained in:
Unknown 2014-06-12 07:45:33 -04:00
parent c018b1a88d
commit 1161c71ac1
2 changed files with 0 additions and 3 deletions

View file

@ -1,6 +1,5 @@
filesets: filesets:
includes: includes:
- conf
- templates - templates
- public - public
- LICENSE - LICENSE

View file

@ -61,8 +61,6 @@ func CreateRelease(gitRepo *git.Repository, rel *Release) error {
if !gitRepo.IsTagExist(rel.TagName) { if !gitRepo.IsTagExist(rel.TagName) {
_, stderr, err := com.ExecCmdDir(gitRepo.Path, "git", "tag", rel.TagName, "-m", rel.Title) _, stderr, err := com.ExecCmdDir(gitRepo.Path, "git", "tag", rel.TagName, "-m", rel.Title)
if err != nil { if err != nil {
return err
} else if strings.Contains(stderr, "fatal:") {
return errors.New(stderr) return errors.New(stderr)
} }
} else { } else {