mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-26 15:02:16 +00:00
Mirror fix
This commit is contained in:
parent
c018b1a88d
commit
1161c71ac1
|
@ -1,6 +1,5 @@
|
|||
filesets:
|
||||
includes:
|
||||
- conf
|
||||
- templates
|
||||
- public
|
||||
- LICENSE
|
||||
|
|
|
@ -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…
Reference in a new issue