Skip to content

Commit

Permalink
apk: clean old apk
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Jan 4, 2025
1 parent 03c654c commit 5a3cde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ jobs:
}
# clean old apk
clean_old_apk() {
local rmlist=$(ls -1 *.ipk | grep -Ev "^($(jq -rc '.packages|to_entries[]|"\(.key)_\(.value)"' index.json | tr '\n' '|' | sed 's,|$,,'))")
local rmlist=$(ls -1 *.apk | grep -Ev "^($(jq -rc '.packages|to_entries[]|"\(.key)-\(.value)"' index.json | tr '\n' '|' | sed 's,|$,,'))")
[ -z "$rmlist" ] || rm -f $rmlist
}
#
Expand Down

0 comments on commit 5a3cde6

Please sign in to comment.