Commit a029686f authored by fuyanbin's avatar fuyanbin
Browse files

fix: 上传路径返回

parent 848f1867
...@@ -133,7 +133,7 @@ upload() { ...@@ -133,7 +133,7 @@ upload() {
then then
7z a -mm=LZMA2 "$outfile_7z" "$outfile" 7z a -mm=LZMA2 "$outfile_7z" "$outfile"
upload.sh --file "$outfile_7z" --directory product/terminal/chroot_androidrom/"$ORGCODE/$date_i" upload.sh --file "$outfile_7z" --directory product/terminal/chroot_androidrom/"$ORGCODE/$date_i"
IMG_URL="https://cdn.linkfog.cn/""product/terminal/chroot_androidrom/$ORGCODE/$date_i/$outfile_7z" IMG_URL="https://cdn.linkfog.cn/""product/terminal/chroot_androidrom/$ORGCODE/$date_i/$(basename "$outfile_7z")"
echo "RESULT: ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE}" echo "RESULT: ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE}"
rm -f "$outfile" "$outfile_7z" rm -f "$outfile" "$outfile_7z"
......
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