diff --git a/Makefile b/Makefile index fff0337d0..f71c11d67 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.0.56 +VERSION=v0.0.57 OUT_DIR=dist YEAR?=$(shell date +"%Y") diff --git a/cmd/commands/git-source.go b/cmd/commands/git-source.go index 4307919aa..33fb395fc 100644 --- a/cmd/commands/git-source.go +++ b/cmd/commands/git-source.go @@ -26,7 +26,6 @@ import ( "github.com/argoproj-labs/argocd-autopilot/pkg/application" "github.com/argoproj-labs/argocd-autopilot/pkg/fs" "github.com/argoproj-labs/argocd-autopilot/pkg/git" - apstore "github.com/argoproj-labs/argocd-autopilot/pkg/store" wf "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow" wfv1alpha1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" "github.com/go-git/go-billy/v5/memfs" @@ -162,9 +161,6 @@ func RunCreateGitSource(ctx context.Context, opts *GitSourceCreateOptions) error } func createDemoWorkflowTemplate(gsFs fs.FS, gsName, runtimeName string) error { - var err error - - gsPath := gsFs.Join(apstore.Default.AppsDir, gsName, runtimeName, "demo-wf-template.yaml") wfTemplate := &wfv1alpha1.WorkflowTemplate{ TypeMeta: metav1.TypeMeta{ Kind: wf.WorkflowTemplateKind, @@ -190,9 +186,6 @@ func createDemoWorkflowTemplate(gsFs fs.FS, gsName, runtimeName string) error { }, }, } - if err = gsFs.WriteYamls(gsPath, wfTemplate); err != nil { - return err - } - - return err + + return gsFs.WriteYamls("demo-wf-template.yaml", wfTemplate) } diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index b58369d56..90fe37d1d 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -20,7 +20,7 @@ cf version ### Linux ```bash # download and extract the binary -curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.56/cf-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.57/cf-linux-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./cf-linux-amd64 /usr/local/bin/cf @@ -32,7 +32,7 @@ cf version ### Mac ```bash # download and extract the binary -curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.56/cf-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.57/cf-darwin-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./cf-darwin-amd64 /usr/local/bin/cf diff --git a/manifests/runtime.yaml b/manifests/runtime.yaml index 174538e2f..0b73e2182 100644 --- a/manifests/runtime.yaml +++ b/manifests/runtime.yaml @@ -5,7 +5,7 @@ metadata: namespace: "{{ namespace }}" spec: defVersion: 1.0.0 - version: 0.0.56 + version: 0.0.57 bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd components: - name: events