[Fix] Split repo name from build in title #4

Merged
parra merged 1 commit from fix-title into main 2023-10-28 18:14:54 +02:00

View file

@ -56,7 +56,7 @@ func loadDataFromEnv(data any) {
func buildAppData(data *Data) { 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/") { if strings.Contains(data.Ci.CommitRef, "refs/tags/") {
data.App.Tags = append(data.App.Tags, data.Drone.Tag) data.App.Tags = append(data.App.Tags, data.Drone.Tag)