Skip to content

Commit

Permalink
feat: Simulate failure and try uninstall step
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Oct 23, 2023
1 parent d7c3f3e commit ff5ffb7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/cohort/github-actions-ci/unpublish-sdk-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down

0 comments on commit ff5ffb7

Please sign in to comment.