summaryrefslogtreecommitdiffstats
path: root/pkg/commands/models/tag.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/models/tag.go')
-rw-r--r--pkg/commands/models/tag.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/commands/models/tag.go b/pkg/commands/models/tag.go
index ab6076a7a..24cb83254 100644
--- a/pkg/commands/models/tag.go
+++ b/pkg/commands/models/tag.go
@@ -24,6 +24,10 @@ func (t *Tag) ID() string {
return t.RefName()
}
+func (t *Tag) URN() string {
+ return "tag-" + t.ID()
+}
+
func (t *Tag) Description() string {
return t.Message
}