Skip to content

Commit 90249bf

Browse files
bump (#53)
1 parent 4221f36 commit 90249bf

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.0.56
1+
VERSION=v0.0.57
22
OUT_DIR=dist
33
YEAR?=$(shell date +"%Y")
44

cmd/commands/git-source.go

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"github.com/argoproj-labs/argocd-autopilot/pkg/application"
2727
"github.com/argoproj-labs/argocd-autopilot/pkg/fs"
2828
"github.com/argoproj-labs/argocd-autopilot/pkg/git"
29-
apstore "github.com/argoproj-labs/argocd-autopilot/pkg/store"
3029
wf "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow"
3130
wfv1alpha1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1"
3231
"github.com/go-git/go-billy/v5/memfs"
@@ -162,9 +161,6 @@ func RunCreateGitSource(ctx context.Context, opts *GitSourceCreateOptions) error
162161
}
163162

164163
func createDemoWorkflowTemplate(gsFs fs.FS, gsName, runtimeName string) error {
165-
var err error
166-
167-
gsPath := gsFs.Join(apstore.Default.AppsDir, gsName, runtimeName, "demo-wf-template.yaml")
168164
wfTemplate := &wfv1alpha1.WorkflowTemplate{
169165
TypeMeta: metav1.TypeMeta{
170166
Kind: wf.WorkflowTemplateKind,
@@ -190,9 +186,6 @@ func createDemoWorkflowTemplate(gsFs fs.FS, gsName, runtimeName string) error {
190186
},
191187
},
192188
}
193-
if err = gsFs.WriteYamls(gsPath, wfTemplate); err != nil {
194-
return err
195-
}
196-
197-
return err
189+
190+
return gsFs.WriteYamls("demo-wf-template.yaml", wfTemplate)
198191
}

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cf version
2020
### Linux
2121
```bash
2222
# download and extract the binary
23-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.56/cf-linux-amd64.tar.gz | tar zx
23+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.57/cf-linux-amd64.tar.gz | tar zx
2424

2525
# move the binary to your $PATH
2626
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -32,7 +32,7 @@ cf version
3232
### Mac
3333
```bash
3434
# download and extract the binary
35-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.56/cf-darwin-amd64.tar.gz | tar zx
35+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.57/cf-darwin-amd64.tar.gz | tar zx
3636

3737
# move the binary to your $PATH
3838
mv ./cf-darwin-amd64 /usr/local/bin/cf

manifests/runtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: "{{ namespace }}"
66
spec:
77
defVersion: 1.0.0
8-
version: 0.0.56
8+
version: 0.0.57
99
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
1010
components:
1111
- name: events

0 commit comments

Comments
 (0)