From 8a9d232c7af6fb6437514651b37629b0da5ded92 Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Tue, 3 Oct 2023 15:53:59 +0200 Subject: [PATCH] Mark artifacts properties as optional --- bundle/config/artifact.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundle/config/artifact.go b/bundle/config/artifact.go index 755116eb39..63ab6c489d 100644 --- a/bundle/config/artifact.go +++ b/bundle/config/artifact.go @@ -37,12 +37,12 @@ type Artifact struct { // The local path to the directory with a root of artifact, // for example, where setup.py is for Python projects - Path string `json:"path"` + Path string `json:"path,omitempty"` // The relative or absolute path to the built artifact files // (Python wheel, Java jar and etc) itself - Files []ArtifactFile `json:"files"` - BuildCommand string `json:"build"` + Files []ArtifactFile `json:"files,omitempty"` + BuildCommand string `json:"build,omitempty"` paths.Paths }