Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard-package-script
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
mycard-package-script
Commits
1c18231d
Commit
1c18231d
authored
Oct 09, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.mycard.moe:mycard/mycard-package-script
parents
544c10e4
976e9250
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
pack-all.sh
pack-all.sh
+10
-3
src/pack-utility.sh
src/pack-utility.sh
+4
-1
No files found.
pack-all.sh
View file @
1c18231d
#!/bin/bash
source
./src/pack-utility.sh
cd
pool
searchPath
=
"
$1
"
if
[[
-z
"
$searchPath
"
]]
;
then
searchPath
=
pool
fi
currentPath
=
"
$PWD
"
cd
"
$searchPath
"
for
appName
in
*
;
do
makeBuild
"
$appName
"
"
$appName
"
makeBuild
"
$appName
"
"
$appName
"
"
$2
"
done
cd
..
cd
"
$currentPath
"
src/pack-utility.sh
View file @
1c18231d
...
...
@@ -34,7 +34,10 @@ makeBuild() {
echo
"Version:
$appVersion
"
currentPath
=
"
$PWD
"
cd
"
$appPath
"
result
=
$(
tar
--zstd
-cvf
-
*
| curl
-sL
-H
"
$header
"
-X
POST
"
$apiRoot
/release/api/build/
$appName
/
${
appVersion
}${
suffix
}
"
-F
file
=
@-
)
tmpfile
=
$(
mktemp
"
$currentPath
/upload_XXXXXX.tar.zst"
)
tar
-I
'zstd -T0'
-cf
"
$tmpfile
"
.
result
=
$(
curl
-L
-H
"
$header
"
-X
POST
"
$apiRoot
/release/api/build/
$appName
/
${
appVersion
}${
suffix
}
"
-F
"file=@
$tmpfile
"
)
rm
-f
"
$tmpfile
"
handleErrorMessage
"
$result
"
echo
"
$result
"
| jq
.
cd
..
...
...
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