mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-04 23:44:43 +02:00
Fix feed push tag (#14064)
* Fix dashboard feed bug when push tag * Fix variable name * Fix delete tag Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
1 parent
e674478227
commit
36bd5d70cd
2 files changed
+8
-3
No files matched your search
@@ -242,6 +242,11 @@ func (a *Action) GetBranch() string {
|
||||
return strings.TrimPrefix(a.RefName, git.BranchPrefix)
|
||||
}
|
||||
|
||||
// GetTag returns the action's repository tag.
|
||||
func (a *Action) GetTag() string {
|
||||
return strings.TrimPrefix(a.RefName, git.TagPrefix)
|
||||
}
|
||||
|
||||
// GetContent returns the action's content.
|
||||
func (a *Action) GetContent() string {
|
||||
return a.Content
|
||||
|
||||
Reference in new issue
Block a user