From 567aee14957749d76f09190a8f7aa9c26f31d9d3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 14 Jul 2020 14:48:25 +0000 Subject: [PATCH] gitsrht-update-hook: add "commits" build tag This is consistent with what dispatch.sr.ht does and allows users to have a badge for commits only (and not for patches sent on the mailing list). --- gitsrht-update-hook/submitter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitsrht-update-hook/submitter.go b/gitsrht-update-hook/submitter.go index 6a42c35..f13652e 100644 --- a/gitsrht-update-hook/submitter.go +++ b/gitsrht-update-hook/submitter.go @@ -271,7 +271,7 @@ func SubmitBuild(submitter BuildSubmitter) ([]BuildSubmission, error) { Tags []string `json:"tags"` }{ Manifest: yaml, - Tags: []string{submitter.GetRepoName(), name}, + Tags: []string{submitter.GetRepoName(), "commits", name}, Note: submitter.GetCommitNote(), } bodyBytes, err := json.Marshal(&submission) -- 2.38.4