Browse Source

Mirror fix

tags/v1.2.0-rc1
Unknown 11 years ago
parent
commit
1161c71ac1
2 changed files with 0 additions and 3 deletions
  1. +0
    -1
      .gobuild.yml
  2. +0
    -2
      models/release.go

+ 0
- 1
.gobuild.yml View File

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


+ 0
- 2
models/release.go View File

@@ -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 {


Loading…
Cancel
Save