diff --git a/scripts/cohort/github-actions-ci/unpublish-sdk-version.sh b/scripts/cohort/github-actions-ci/unpublish-sdk-version.sh index 6ba1d86e..1a39b043 100755 --- a/scripts/cohort/github-actions-ci/unpublish-sdk-version.sh +++ b/scripts/cohort/github-actions-ci/unpublish-sdk-version.sh @@ -38,6 +38,18 @@ then echo "E: Unable to find package version id" echo "D: allVersionsArray=" cat ./tmp_all_versions.json + + echo "" + echo "D: echo allVersionsArray | yq .[]" + echo "$allVersionsArray" | yq '.[]' + echo "" + echo "D: versionName=$versionName" + echo "D: echo allVersionsArray | yq .[] | select(.name==versionName)" + echo "$allVersionsArray" | yq '.[] | select(.name=="$versionName")' + echo "" + echo "D: full yq command result" + echo "$allVersionsArray" | yq '.[] | select(.name=="$versionName") | .id' + rm ./tmp_all_versions.json echo "" echo "D: curl command used:"