Skip to content

Commit

Permalink
Fix the asset generation flow for v3 (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekjilla authored Dec 17, 2024
1 parent 9b699af commit 6102803
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions host/generate-composite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ select_version() {
echo "Version 4 selected"
DIR=$(dirname $0)/4/bullseye/base
elif [ "$VERSION" == "3" ]; then
echo "Version 4 selected"
echo "Version 3 selected"
DIR=$(dirname $0)/3.0/buster/amd64/base
else
echo "No valid version selected. Must provide a valid version via -3 or -4 flags"
Expand Down Expand Up @@ -151,7 +151,11 @@ fi

if [ ${#argarray[@]} == 1 ] && [ "$argarray" == "all" ]; then
echo "All supported languages targetted."
supportedlangs=("java" "node" "python" "dotnet" "powershell")
if [ "$VERSION" == "4" ]; then
supportedlangs=("java" "node" "python" "dotnet" "powershell")
else
supportedlangs=("java" "node" "python" "dotnet")
fi
argarray=(${supportedlangs[@]})
fi

Expand Down

0 comments on commit 6102803

Please sign in to comment.