diff --git a/cli/run.go b/cli/run.go index 2c42b1ef..a174e368 100644 --- a/cli/run.go +++ b/cli/run.go @@ -632,7 +632,7 @@ func createWorkflowRunPlan( return models.WorkflowRunPlan{ Version: cliVersion, - LogFormatVersion: "1", + LogFormatVersion: models.LogFormatVersion, CIMode: modes.CIMode, PRMode: modes.PRMode, DebugMode: modes.DebugMode, diff --git a/models/workflow_run_plan.go b/models/workflow_run_plan.go index 0fbd4a52..abaa6707 100644 --- a/models/workflow_run_plan.go +++ b/models/workflow_run_plan.go @@ -7,6 +7,8 @@ import ( stepmanModels "github.com/bitrise-io/stepman/models" ) +const LogFormatVersion = "2" + type WorkflowRunModes struct { CIMode bool PRMode bool diff --git a/version/build.go b/version/build.go index ebf5d635..30e1c683 100644 --- a/version/build.go +++ b/version/build.go @@ -1,7 +1,7 @@ package version // VERSION is the main CLI version number. It's defined at build time using -ldflags -var VERSION = "2.19.0" +var VERSION = "2.20.0" // BuildNumber is the CI build number that creates the release. It's defined at build time using -ldflags var BuildNumber = ""