aboutsummaryrefslogtreecommitdiffstats
path: root/services/feed/notifier.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/feed/notifier.go')
-rw-r--r--services/feed/notifier.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/feed/notifier.go b/services/feed/notifier.go
index 702eb5ad53..3aaf885c9a 100644
--- a/services/feed/notifier.go
+++ b/services/feed/notifier.go
@@ -469,7 +469,7 @@ func (a *actionNotifier) NewRelease(ctx context.Context, rel *repo_model.Release
Repo: rel.Repo,
IsPrivate: rel.Repo.IsPrivate,
Content: rel.Title,
- RefName: rel.TagName, // FIXME: use a full ref name?
+ RefName: git.RefNameFromTag(rel.TagName).String(), // Other functions in this file all use "refFullName.String()"
}); err != nil {
log.Error("NotifyWatchers: %v", err)
}