diff --git a/Makefile b/Makefile index 45f1cd03..59b3ff0d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.1.23 +VERSION=v0.1.24 OUT_DIR=dist YEAR?=$(shell date +"%Y") diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 7e18f4e7..53b98b18 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -23,7 +23,7 @@ cf version ```bash # download and extract the binary -curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.23/cf-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.24/cf-linux-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./cf-linux-amd64 /usr/local/bin/cf @@ -36,7 +36,7 @@ cf version ```bash # download and extract the binary -curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.23/cf-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.24/cf-darwin-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./cf-darwin-amd64 /usr/local/bin/cf diff --git a/pkg/runtime/runtime.go b/pkg/runtime/runtime.go index 726578dc..85feff0e 100644 --- a/pkg/runtime/runtime.go +++ b/pkg/runtime/runtime.go @@ -339,10 +339,13 @@ func (a *AppDef) CreateApp(ctx context.Context, f apkube.Factory, cloneOpts *apg return util.Retry(ctx, &util.RetryOptions{ Func: func() error { newCloneOpts := &apgit.CloneOptions{ - FS: apfs.Create(memfs.New()), - Repo: cloneOpts.Repo, - Auth: cloneOpts.Auth, - Progress: cloneOpts.Progress, + FS: apfs.Create(memfs.New()), + Repo: cloneOpts.Repo, + Auth: cloneOpts.Auth, + Progress: cloneOpts.Progress, + CreateIfNotExist: false, + CloneForWrite: true, + UpsertBranch: false, } newCloneOpts.Parse()