summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2023-10-08 16:46:04 +0200
committerStefan Haller <stefan@haller-berlin.de>2023-10-08 18:45:36 +0200
commit3d6965ccbbd992adc7cd68015dfd38309cbc8835 (patch)
treedeaf6ae598dd10e06747d248269c37e4c5addfb9 /pkg/commands
parent707fa37160e82c1c88cc44a7ae07762ccec48008 (diff)
Add inline status for pushing tags and deleting remote tags
Diffstat (limited to 'pkg/commands')
-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
}