Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
db97c58b
Commit
db97c58b
authored
Feb 07, 2024
by
fuyanbin
Browse files
fix: 指定 pack-type
parent
07b1aa70
Changes
1
Hide whitespace changes
Inline
Side-by-side
pack.sh
View file @
db97c58b
...
...
@@ -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
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment