Add Repo name to title
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
parra 2023-10-28 18:08:03 +02:00
parent 9f86b72ce9
commit 1731c55d9b

View file

@ -56,7 +56,7 @@ func loadDataFromEnv(data any) {
func buildAppData(data *Data) {
data.App.Title = "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)