From 9b6a8471786a2d1c7d0a3911dfba00d7e981ab2d Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Tue, 3 Oct 2023 15:59:28 +0200 Subject: [PATCH] Mark artifacts properties as optional (#834) ## Changes Mark artifacts properties as optional Fixes #816 --- 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 755116eb..63ab6c48 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 }