Skip to content

Commit

Permalink
fix: get right runtime version also when package name in velocitas.js…
Browse files Browse the repository at this point in the history
…on is an URI (#46)
  • Loading branch information
dennismeister93 authored Nov 2, 2023
1 parent c3aac95 commit e5815f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/scripts/deploy_image_from_artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ APP_ARTIFACT_NAME=$(cat $ROOT_DIRECTORY/${{ appManifestPath }} | jq -r .name | t
APP_NAME_LOWERCASE=$(echo $APP_ARTIFACT_NAME | tr '[:upper:]' '[:lower:]')
APP_PORT=50008
APP_REGISTRY="k3d-registry.localhost:12345"
RUNTIME_VERSION=$(cat $ROOT_DIRECTORY/.velocitas.json | jq -r '.packages[]| select(.name=="devenv-runtimes")'.version)
RUNTIME_VERSION=$(cat $ROOT_DIRECTORY/.velocitas.json | jq -r '.packages[]| select(.name | contains("devenv-runtimes"))'.version)
HELM_CONFIG_DIR="$HOME/.velocitas/packages/devenv-runtimes/$RUNTIME_VERSION/runtime_k3d/src/app_deployment/config/helm"

local_tag="$APP_REGISTRY/$APP_NAME_LOWERCASE:local"
Expand Down

0 comments on commit e5815f5

Please sign in to comment.