diff --git a/.github/workflows/check_release.yml b/.github/workflows/check_release.yml index 592eea1..1db64d9 100644 --- a/.github/workflows/check_release.yml +++ b/.github/workflows/check_release.yml @@ -27,7 +27,7 @@ jobs: CURRENT_VERSION=$(cat version.json | jq -r '.version') # Compare the latest release with the current version - if [ "$LATEST_RELEASE" != "$CURRENT_VERSION" ]; then + if [ -n "$LATEST_RELEASE" ] && [ "$LATEST_RELEASE" != "$CURRENT_VERSION" ] && [ "$LATEST_RELEASE" != "null" ]; then echo "New release found: $LATEST_RELEASE" # Update version.json with the latest version and increment versionCode