Skip to content

Commit ff9de7f

Browse files
committed
Fix gitea tag link
1 parent 7d81093 commit ff9de7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scm/driver/gitea/linker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (l *linker) Resource(ctx context.Context, repo string, ref scm.Reference) (
2020
switch {
2121
case scm.IsTag(ref.Path):
2222
t := scm.TrimRef(ref.Path)
23-
return fmt.Sprintf("%s%s/tag/%s", l.base, repo, t), nil
23+
return fmt.Sprintf("%s%s/src/tag/%s", l.base, repo, t), nil
2424
case scm.IsPullRequest(ref.Path):
2525
d := scm.ExtractPullRequest(ref.Path)
2626
return fmt.Sprintf("%s%s/pulls/%d", l.base, repo, d), nil

0 commit comments

Comments
 (0)