Skip to content

Commit

Permalink
Oops... invert logic check
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Nov 18, 2023
1 parent e14f58d commit 22ab920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/commit_web_api_changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

if git diff --exit-code data/web-api.json >/dev/null; then
if ! git diff --exit-code data/web-api.json >/dev/null; then
echo "Web API index changed, building new release"
version=$(npm version patch --git-tag-version=false)

Expand Down

0 comments on commit 22ab920

Please sign in to comment.