Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
j-hc authored Nov 7, 2022
1 parent 9cbffa4 commit 9068ffd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ jobs:
for OUTPUT in *revanced*.zip; do
[ "$OUTPUT" = "*revanced*.zip" ] && continue
ZIP_S=$(unzip -p "$OUTPUT" module.prop)
UPDATE_JSON=$(echo "$ZIP_S" | grep updateJson)
if ! UPDATE_JSON=$(echo "$ZIP_S" | grep updateJson); then
continue
fi
UPDATE_JSON="${UPDATE_JSON##*/}"
VER=$(echo "$ZIP_S" | grep version=)
VER="${VER##*=}"
Expand Down

0 comments on commit 9068ffd

Please sign in to comment.