From 1804330273327ca354f8677ef3ad1c108a0366d4 Mon Sep 17 00:00:00 2001 From: elad-codefresh Date: Sun, 22 Aug 2021 15:47:23 +0300 Subject: [PATCH] fix and bump --- Makefile | 2 +- cmd/commands/runtime.go | 2 +- docs/releases/release_notes.md | 4 ++-- manifests/runtime.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 19e380bb2..6c55cf3a1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.0.73 +VERSION=v0.0.74 OUT_DIR=dist YEAR?=$(shell date +"%Y") diff --git a/cmd/commands/runtime.go b/cmd/commands/runtime.go index c3efda73c..2b9bcfcbd 100644 --- a/cmd/commands/runtime.go +++ b/cmd/commands/runtime.go @@ -140,7 +140,7 @@ func NewRuntimeInstallCommand() *cobra.Command { log.G(ctx).Fatal("must enter runtime name") } - isValid, err := IsValid(args[1]) + isValid, err := IsValid(args[0]) if err != nil { log.G(ctx).Fatal("failed to check the validity of the runtime name") } diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index ae2071589..23e1adb60 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.73/cf-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.74/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.73/cf-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.74/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 8a39d4b04..fed6b620e 100644 --- a/manifests/runtime.yaml +++ b/manifests/runtime.yaml @@ -5,7 +5,7 @@ metadata: namespace: "{{ namespace }}" spec: defVersion: 1.0.0 - version: 0.0.73 + version: 0.0.74 bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd components: - name: events