Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 15, 2023
1 parent 335f915 commit ca1592c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ jobs:
while i < 5; do
i=0
RESPONSE=$(curl -sl -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/microsoft/CoseSignTool/releases/tags/$NEW_TAG)
echo "RESPONSE: $RESPONSE"
if [[ $RESPONSE == *"Not Found"* ]]; then
echo "$RESPONSE" | jq -r '.message'
if [ "$(echo "$RESPONSE" | jq -r '.message')" == "Not Found" ]; then
echo "Tag not found. We're good to go."
break
else
Expand Down

0 comments on commit ca1592c

Please sign in to comment.