diff options
author | Unknwon <u@gogs.io> | 2015-11-20 02:53:54 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-20 02:53:54 -0500 |
commit | 1d4a5b1825e46b51a1cbd6dc5d24a4ea585a0e72 (patch) | |
tree | 4b553e42abab98df2ea228e9d67b9d91c531f570 /models/release.go | |
parent | 987dcc5372998adaafb68e00a9a460e955d018e5 (diff) | |
download | gitea-1d4a5b1825e46b51a1cbd6dc5d24a4ea585a0e72.tar.gz gitea-1d4a5b1825e46b51a1cbd6dc5d24a4ea585a0e72.zip |
fix #2002
Diffstat (limited to 'models/release.go')
-rw-r--r-- | models/release.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/release.go b/models/release.go index 8b98f0b8d7..ef1d640d72 100644 --- a/models/release.go +++ b/models/release.go @@ -180,7 +180,7 @@ func DeleteReleaseByID(id int64) error { return fmt.Errorf("RepoPath: %v", err) } - _, stderr, err := process.ExecDir(-1, repoPath, fmt.Sprintf("Delete release [%d]", rel.ID), + _, stderr, err := process.ExecDir(-1, repoPath, fmt.Sprintf("DeleteReleaseByID (git tag -d): %d", rel.ID), "git", "tag", "-d", rel.TagName) if err != nil && !strings.Contains(stderr, "not found") { return fmt.Errorf("git tag -d: %v - %s", err, stderr) |