Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
0c1d0a62
Commit
0c1d0a62
authored
Aug 26, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
46464250
8f5012e1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
1 deletion
+43
-1
.ci/pack-linux-dlc.sh
.ci/pack-linux-dlc.sh
+14
-0
.ci/pack-macos-dlc.sh
.ci/pack-macos-dlc.sh
+14
-0
.ci/pack-windows-dlc.sh
.ci/pack-windows-dlc.sh
+14
-0
.ci/upload-packager.sh
.ci/upload-packager.sh
+1
-1
No files found.
.ci/pack-linux-dlc.sh
0 → 100755
View file @
0c1d0a62
#!/bin/bash
set
-x
set
-o
errexit
ARCHIVE_FILES
=(
ygopro lib cards.cdb locales fonts strings.conf system.conf
)
TARGET_PLATFORM
=
linux
apt update
&&
apt
-y
install tar
zstd
mkdir
dist replay
cp
-rf
locales/
$TARGET_LOCALE
/
*
.
tar
-acf
"dist/KoishiPro-dlc-
$CI_COMMIT_REF_NAME
-
$TARGET_PLATFORM
-
$TARGET_LOCALE
.tar.
$ARCHIVE_SUFFIX
"
--exclude
=
'.git*'
"
${
ARCHIVE_FILES
[@]
}
"
.ci/pack-macos-dlc.sh
0 → 100755
View file @
0c1d0a62
#!/bin/bash
set
-x
set
-o
errexit
ARCHIVE_FILES
=(
ygopro.app cards.cdb locales fonts strings.conf system.conf
)
TARGET_PLATFORM
=
darwin
apt update
&&
apt
-y
install tar
zstd
mkdir
dist replay
cp
-rf
locales/
$TARGET_LOCALE
/
*
.
tar
-acf
"dist/KoishiPro-dlc-
$CI_COMMIT_REF_NAME
-
$TARGET_PLATFORM
-
$TARGET_LOCALE
.tar.
$ARCHIVE_SUFFIX
"
--exclude
=
'.git*'
"
${
ARCHIVE_FILES
[@]
}
"
.ci/pack-windows-dlc.sh
0 → 100755
View file @
0c1d0a62
#!/bin/bash
set
-x
set
-o
errexit
ARCHIVE_FILES
=(
ygopro.exe cards.cdb locales fonts strings.conf system.conf
)
TARGET_PLATFORM
=
win32
apt update
&&
apt
-y
install tar
zstd
mkdir
dist replay
cp
-rf
locales/
$TARGET_LOCALE
/
*
.
tar
-acf
"dist/KoishiPro-dlc-
$CI_COMMIT_REF_NAME
-
$TARGET_PLATFORM
-
$TARGET_LOCALE
.tar.
$ARCHIVE_SUFFIX
"
--exclude
=
'.git*'
"
${
ARCHIVE_FILES
[@]
}
"
.ci/upload-packager.sh
View file @
0c1d0a62
...
@@ -25,7 +25,7 @@ handleErrorMessage() {
...
@@ -25,7 +25,7 @@ handleErrorMessage() {
runForDepot
()
{
runForDepot
()
{
platform
=
$1
platform
=
$1
locale
=
$2
locale
=
$2
archivePath
=
"./dist/KoishiPro-
$appVersion
-
$platform
-
$locale
.tar.zst"
archivePath
=
"./dist/KoishiPro-
dlc-
$appVersion
-
$platform
-
$locale
.tar.zst"
suffix
=
"?platform=
$platform
&locale=
$locale
&arch=generic"
suffix
=
"?platform=
$platform
&locale=
$locale
&arch=generic"
echo
"Uploading
$archivePath
"
echo
"Uploading
$archivePath
"
result
=
$(
curl
-H
"
$header
"
-X
POST
"
$apiRoot
/release/api/build/
$appName
/
${
appVersion
}${
suffix
}
"
-F
file
=
@
$archivePath
)
result
=
$(
curl
-H
"
$header
"
-X
POST
"
$apiRoot
/release/api/build/
$appName
/
${
appVersion
}${
suffix
}
"
-F
file
=
@
$archivePath
)
...
...
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