Commit db97c58b authored by fuyanbin's avatar fuyanbin
Browse files

fix: 指定 pack-type

parent 07b1aa70
......@@ -25,7 +25,7 @@ NOUPLOAD="false"
LOCAL="false"
export PATH=${PATH}:$(pwd)/tools/
PARSED_ARUGMENTS=$(getopt -a -n "$0" -o V:t:i: --long help,vendor:,type:,image:,chroot-type:,orgcode:,channelid:, -- "$@")
PARSED_ARUGMENTS=$(getopt -a -n "$0" -o V:t:i: --long help,vendor:,type:,image:,chroot-type:,orgcode:,channelid:,packtype: -- "$@")
eval set -- "${PARSED_ARUGMENTS}"
while :
do
......@@ -182,7 +182,7 @@ upload() {
if [[ "$NOUPLOAD" != "true" ]]
then
zstd --ultra --format=gzip "$outfile" -o "$outfile_gz"
uri="product/terminal/chroot_androidrom/""$ORGCODE/$date_i/$(basename $outfile_gz)"
uri="product/terminal/chroot_androidrom/""$ORGCODE/$date_i/$(basename "$outfile_gz")"
obsutil cp "$outfile_gz" obs://fae-cdn.linkfog.cn/"$uri"
IMG_URL="https://fae-cdn.linkfog.cn/""$uri"
echo "RESULT: ${VENDOR} ${IMG_URL} ${MD5SUM} ${TITLE}"
......
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