Skip to content

Commit

Permalink
swap us to null
Browse files Browse the repository at this point in the history
  • Loading branch information
TeddiO committed Mar 16, 2024
1 parent 4f4ef7c commit 0808b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
VERSION=$(jq -r '.version' com.teddi.g502-battery-monitor.sdPlugin/manifest.json)
RESPONSE=$(curl --silent "https://api.github.com/repos/${{ github.repository }}/releases/tags/v$VERSION")
if [ "$RESPONSE" != "Not Found" ]; then
if [ "$RESPONSE" != "null" ]; then
echo "Release v$VERSION already exists, please update the version in manifest.json"
exit 1
fi
Expand Down

0 comments on commit 0808b9e

Please sign in to comment.