Skip to content

Commit

Permalink
Set TAG when extracting single build
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Aug 28, 2023
1 parent 6b99444 commit 7732783
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -ex
# Extract full update
aria2c -x5 $1 -o ota.zip
unzip ota.zip payload.bin
BODY="[`unzip -p ota.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`]($1) (full)"
TAG="`unzip -p ota.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`"
BODY="[$TAG]($1) (full)"
rm ota.zip
mkdir ota
./bin/ota_extractor -output_dir ota -payload payload.bin
Expand Down

0 comments on commit 7732783

Please sign in to comment.