Commit 59407f9d authored by fuyanbin's avatar fuyanbin
Browse files

cleanup

parent a5f4b04b
......@@ -119,12 +119,7 @@ update_hugepall_zipfile() {
upload() {
# get current time
local date_i=$(date +%Y-%m-%d-%s)
echo "$date_i"
echo "line 34 end"
echo "$IMAGE_FILE"
outfile=$(basename "$IMAGE_FILE")
echo "$outfile"
MD5SUM=$(md5sum ${outfile} | awk '{print $1}' )
if [[ "$NOUPLOAD" != "true" ]]
then
......@@ -138,10 +133,6 @@ upload() {
upload.sh $args --file ${outfile} --directory product/terminal/chroot_androidrom/${ORGCODE}/${date_i}
# construct URL
IMG_URL="https://cdn.linkfog.cn/""product/terminal/chroot_androidrom/${ORGCODE}/${date_i}"
# title
TITLE="???Armbian ???,VENDOR:${VENDOR},ORGCODE:${ORGCODE} ${date}"
mail.sh ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE} 2>/dev/null
echo "RESULT: ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE}"
# delete .img file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment