Skip to content

Commit

Permalink
更新 check_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lakejason0 authored Sep 19, 2023
1 parent 056af1b commit e70492c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e70492c

Please sign in to comment.