From ce00df9a54bd2fc34eb9e5a443a6bd1c9cc182c7 Mon Sep 17 00:00:00 2001 From: parra Date: Sat, 28 Oct 2023 18:13:55 +0200 Subject: [PATCH] [Fix] Split repo name from build in title --- cmd/drone-ntfy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/drone-ntfy/main.go b/cmd/drone-ntfy/main.go index 00c731d..7513e3c 100644 --- a/cmd/drone-ntfy/main.go +++ b/cmd/drone-ntfy/main.go @@ -56,7 +56,7 @@ func loadDataFromEnv(data any) { func buildAppData(data *Data) { - data.App.Title = data.Drone.RepoName + "Build #" + data.Drone.BuildNumber + " " + data.Drone.BuildStatus + data.App.Title = data.Drone.RepoName + " - Build #" + data.Drone.BuildNumber + " " + data.Drone.BuildStatus if strings.Contains(data.Ci.CommitRef, "refs/tags/") { data.App.Tags = append(data.App.Tags, data.Drone.Tag) -- 2.45.2