Commit 82d6da7 Jacob Woffenden
committed
1 parent 892f65a commit 82d6da7 Copy full SHA for 82d6da7
File tree 3 files changed +8
-2
lines changed
features/src/cloud-platform
src/home/vscode/.devcontainer/promptrc.d
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## [ Unreleased]
10
10
11
+ ## [ 0.0.3] - 2024-02-01
12
+
13
+ ### Changed
14
+
15
+ - Removed rogue ` && ` from features/src/cloud-platform/src/home/vscode/.devcontainer/promptrc.d/cloud-platform.sh
16
+
11
17
## [ 0.0.2] - 2024-01-31
12
18
13
19
### Added
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " cloud-platform" ,
3
- "version" : " 0.0.2 " ,
3
+ "version" : " 0.0.3 " ,
4
4
"name" : " Cloud Platform" ,
5
5
"description" : " Installs the Cloud Platform CLI" ,
6
6
"options" : {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ PROMPT+='`\
6
6
kubectlCurrentNamespace=$(kubectl config view --minify --output "jsonpath={..namespace}"); \
7
7
kubectlClientId=$(kubectl config view --output json | jq -r ".users[0].user[\"auth-provider\"].config[\"client-id\"]"); \
8
8
kubectlServerVersion=$(kubectl version --output json 2>/dev/null | jq -r .serverVersion.gitVersion | sed "s/v//"); \
9
- && if [[ "${kubectlCurrentContext}" == "cloud-platform-live" ]] && [[ "${kubectlClientId}" == "REPLACE_WITH_CLIENT_ID" ]]; then \
9
+ if [[ "${kubectlCurrentContext}" == "cloud-platform-live" ]] && [[ "${kubectlClientId}" == "REPLACE_WITH_CLIENT_ID" ]]; then \
10
10
echo -n "[ cluster: %{$fg[yellow]%}${kubectlCurrentContext} (requires authentication)%{$reset_color%} ] "; \
11
11
elif [[ "${kubectlCurrentContext}" == "cloud-platform-live" ]] && [[ ! -z "${kubectlServerVersion}" ]]; then \
12
12
echo -n "[ cluster: %{$fg[green]%}${kubectlCurrentContext} (authenticated)%{$reset_color%} ] "; \
You can’t perform that action at this time.
0 commit comments