Skip to content

Commit

Permalink
Update build.sh: correct name of ota zip file
Browse files Browse the repository at this point in the history
  • Loading branch information
petefoth authored Mar 30, 2024
1 parent 6b96b08 commit da39a35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ for branch in ${BRANCH_NAME//,/ }; do
echo ">> [$(date)] Moving build artifacts for $codename to '$ZIP_DIR/$zipsubdir'" | tee -a "$DEBUG_LOG"
cd out/target/product/"$codename"

# the zip produced by 'mka otapackage' is "lineage_$device-ota-eng.root.zip
# the zip produced by 'mka otapackage' is "lineage_$device-ota.zip
# we need it to be "lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.zip"
mv "lineage_$codename-ota-eng.root.zip" "lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.zip"
mv "lineage_$codename-ota.zip" "lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.zip"

files_to_hash=()
for build in lineage-*.zip; do
Expand Down

0 comments on commit da39a35

Please sign in to comment.