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
89e9ccb9
Commit
89e9ccb9
authored
May 12, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of git.mycard.moe:nanahira/ygopro into develop
parents
5817414a
fd267dc2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
11 deletions
+22
-11
.ci/asset-branch
.ci/asset-branch
+6
-0
.ci/assets-locale.sh
.ci/assets-locale.sh
+11
-4
.ci/prepare-irrlicht.sh
.ci/prepare-irrlicht.sh
+2
-6
.ci/upload-packager.sh
.ci/upload-packager.sh
+3
-1
No files found.
.ci/asset-branch
0 → 100644
View file @
89e9ccb9
export ASSET_BRANCH_NAME="master"
# if $CI_COMMIT_REF_NAME includes develop or pre, then we use the develop branch
if [[ "$CI_COMMIT_REF_NAME" == *"develop"* || "$CI_COMMIT_REF_NAME" == *".pre"* ]]; then
export ASSET_BRANCH_NAME="develop"
fi
.ci/assets-locale.sh
View file @
89e9ccb9
#!/bin/bash
set
-x
set
-o
errexit
source
.ci/asset-branch
# ygopro-database
apt update
&&
apt
-y
install
wget git libarchive-tools
git clone
--depth
=
1 https://code.moenext.com/nanahira/ygopro-database
cp
-rf
./ygopro-database/locales/
$TARGET_LOCALE
/
*
.
apt update
&&
apt
-y
install
wget git libarchive-tools sqlite3
git clone
--depth
=
1
-b
"
$ASSET_BRANCH_NAME
"
https://code.moenext.com/mycard/ygopro-database
cp
-rf
./ygopro-database/locales/
$TARGET_LOCALE
/strings.conf
.
rm
-f
cards.cdb
sqlite3 ./ygopro-database/locales/
$TARGET_LOCALE
/cards.cdb .dump | sqlite3 cards.cdb
# ygopro-images
mkdir
pics
wget
-O
- https://cdn02.moecube.com:444/images/ygopro-images-
${
TARGET_LOCALE
}
.zip | bsdtar
-C
pics
-xf
-
if
[[
"
$ASSET_BRANCH_NAME
"
==
"develop"
]]
;
then
echo
"This is a pre-release, skipping download."
else
wget
-O
- https://cdn02.moecube.com:444/images/ygopro-images-
${
TARGET_LOCALE
}
.zip | bsdtar
-C
pics
-xf
-
fi
.ci/prepare-irrlicht.sh
View file @
89e9ccb9
#!/bin/bash
set
-x
set
-o
errexit
source
.ci/asset-branch
IRRLICHT_REPO_URL
=
"https://code.moenext.com/mycard/irrlicht-new.git"
IRRLICHT_BRANCH_NAME
=
"master"
# if $CI_COMMIT_REF_NAME includes develop or pre, then we use the develop branch
if
[[
"
$CI_COMMIT_REF_NAME
"
==
*
"develop"
*
||
"
$CI_COMMIT_REF_NAME
"
==
*
".pre"
*
]]
;
then
IRRLICHT_BRANCH_NAME
=
"develop"
fi
IRRLICHT_BRANCH_NAME
=
"
$ASSET_BRANCH_NAME
"
if
[
!
-d
"irrlicht"
]
;
then
git clone
--depth
=
1
--branch
"
$IRRLICHT_BRANCH_NAME
"
"
$IRRLICHT_REPO_URL
"
irrlicht
...
...
.ci/upload-packager.sh
View file @
89e9ccb9
...
...
@@ -33,7 +33,9 @@ runForDepot() {
echo
"
$result
"
| jq
.
}
if
[[
"
$CI_COMMIT_TAG
"
==
*
".pre"
*
]]
;
then
source
.ci/asset-branch
if
[[
"
$ASSET_BRANCH_NAME
"
==
"develop"
]]
;
then
echo
"This is a pre-release, skipping upload."
else
runForDepot win32 zh-CN
...
...
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