Skip to content

Commit a5a804e

Browse files
cr-15431 (#636)
* cr-15431 * cr-15431
1 parent f20e1a1 commit a5a804e

File tree

3 files changed

+21
-23
lines changed

3 files changed

+21
-23
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.3
1+
VERSION=v0.1.4
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

cmd/commands/git-source.go

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -605,26 +605,24 @@ func createDemoResources(ctx context.Context, opts *GitSourceCreateOptions, gsRe
605605
return fmt.Errorf("failed to create calendar example pipeline. Error: %w", err)
606606
}
607607

608-
if opts.AccessMode == platmodel.AccessModeIngress {
609-
err = createDemoGitPipeline(&gitSourceGitDemoPipelineOptions{
610-
runtimeName: opts.RuntimeName,
611-
gsCloneOpts: opts.GsCloneOpts,
612-
gitProvider: opts.GitProvider,
613-
gsFs: gsFs,
614-
hostName: opts.HostName,
615-
skipIngress: opts.SkipIngress,
616-
ingressHost: opts.IngressHost,
617-
ingressClass: opts.IngressClass,
618-
ingressController: opts.IngressController,
619-
accessMode: opts.AccessMode,
620-
gatewayName: opts.GatewayName,
621-
gatewayNamespace: opts.GatewayNamespace,
622-
useGatewayAPI: opts.useGatewayAPI,
623-
})
624-
if err != nil {
625-
return fmt.Errorf("failed to create github example pipeline. Error: %w", err)
626-
}
627-
}
608+
err = createDemoGitPipeline(&gitSourceGitDemoPipelineOptions{
609+
runtimeName: opts.RuntimeName,
610+
gsCloneOpts: opts.GsCloneOpts,
611+
gitProvider: opts.GitProvider,
612+
gsFs: gsFs,
613+
hostName: opts.HostName,
614+
skipIngress: opts.SkipIngress,
615+
ingressHost: opts.IngressHost,
616+
ingressClass: opts.IngressClass,
617+
ingressController: opts.IngressController,
618+
accessMode: opts.AccessMode,
619+
gatewayName: opts.GatewayName,
620+
gatewayNamespace: opts.GatewayNamespace,
621+
useGatewayAPI: opts.useGatewayAPI,
622+
})
623+
if err != nil {
624+
return fmt.Errorf("failed to create github example pipeline. Error: %w", err)
625+
}
628626

629627
commitMsg := fmt.Sprintf("Created demo pipelines in %s Directory", opts.GsCloneOpts.Path())
630628

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cf version
2323

2424
```bash
2525
# download and extract the binary
26-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.2/cf-linux-amd64.tar.gz | tar zx
26+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.4/cf-linux-amd64.tar.gz | tar zx
2727

2828
# move the binary to your $PATH
2929
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -36,7 +36,7 @@ cf version
3636

3737
```bash
3838
# download and extract the binary
39-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.2/cf-darwin-amd64.tar.gz | tar zx
39+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.4/cf-darwin-amd64.tar.gz | tar zx
4040

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

0 commit comments

Comments
 (0)