mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
Add SHA256 sum
This commit is contained in:
parent
2011570233
commit
4176346648
@ -188,8 +188,12 @@ if ! [ -z "$DEVICE_LIST" ]; then
|
||||
fi
|
||||
# Move produced ZIP files to the main OUT directory
|
||||
echo ">> [$(date)] Moving build artifacts for $codename to '$ZIP_DIR/$zipsubdir'" | tee -a $DEBUG_LOG
|
||||
cd $SRC_DIR/out/target/product/$codename
|
||||
for build in lineage-*.zip; do
|
||||
sha256sum $build > $ZIP_DIR/$zipsubdir/$build.sha256sum
|
||||
done
|
||||
find . -name 'lineage-*.zip*' -type f -maxdepth 1 -exec mv {} $ZIP_DIR/$zipsubdir/ \; >> $DEBUG_LOG 2>&1
|
||||
cd $SRC_DIR
|
||||
find out/target/product/$codename -name 'lineage-*.zip*' -type f -maxdepth 1 -exec mv {} $ZIP_DIR/$zipsubdir/ \; >> $DEBUG_LOG 2>&1
|
||||
else
|
||||
echo ">> [$(date)] Failed build for $codename" | tee -a $DEBUG_LOG
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user