Skip to content

Commit 6622c18

Browse files
blue->cyan (#143)
* blue->cyan * string improvement
1 parent 07f50b0 commit 6622c18

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
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.132
1+
VERSION=v0.0.133
22

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

cmd/commands/common.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,10 @@ func getRuntimeNameFromUserSelect(ctx context.Context, runtimeName *string) erro
157157
Selected: "{{ . | yellow }} ",
158158
}
159159

160+
labelStr := fmt.Sprintf("%vSelect runtime%v", CYAN, COLOR_RESET)
161+
160162
prompt := promptui.Select{
161-
Label: "\033[34mSelect runtime\033[0m",
163+
Label: labelStr,
162164
Items: runtimeNames,
163165
Templates: templates,
164166
}
@@ -213,7 +215,7 @@ func promptSummaryToUser(ctx context.Context, finalParameters map[string]string,
213215
Selected: "{{ . | yellow }} ",
214216
}
215217
promptStr := fmt.Sprintf("%v%v%vSummary%v%v%v", GREEN, BOLD, UNDERLINE, COLOR_RESET, BOLD_RESET, UNDERLINE_RESET)
216-
labelStr := fmt.Sprintf("%vDo you wish to continue to %v?%v", CYAN, description, COLOR_RESET)
218+
labelStr := fmt.Sprintf("%vDo you wish to continue with %v?%v", CYAN, description, COLOR_RESET)
217219

218220
for key, value := range finalParameters {
219221
promptStr += fmt.Sprintf("\n%v%v: %v%v", GREEN, key, COLOR_RESET, value)

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.132/cf-linux-amd64.tar.gz | tar zx
23+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.133/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.132/cf-darwin-amd64.tar.gz | tar zx
35+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.133/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.132
8+
version: 0.0.133
99
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
1010
components:
1111
- name: events

0 commit comments

Comments
 (0)