Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
DataEditorX
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
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
nanahira
DataEditorX
Commits
e4072b71
Commit
e4072b71
authored
Feb 10, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Avalon' of
https://code.mycard.moe/nanahira/DataEditorX
into Avalon
parents
02399a32
05786792
Pipeline
#9334
passed with stages
in 1 minute and 33 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
11 deletions
+46
-11
.gitlab-ci.yml
.gitlab-ci.yml
+46
-11
No files found.
.gitlab-ci.yml
View file @
e4072b71
stages
:
-
prepare
-
build
-
pack
-
deploy
variables
:
GIT_DEPTH
:
"
1"
get_nuget
:
stage
:
prepare
tags
:
-
linux
script
:
-
mkdir tools
-
cd tools
-
wget -O nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
-
cd ..
artifacts
:
paths
:
-
tools
get_data
:
stage
:
prepare
tags
:
-
linux
script
:
-
wget -O DataEditorX/data/constant.lua https://cdn02.moecube.com:444/koishipro/contents/script/constant.lua
-
wget -O DataEditorX/data/strings.conf https://cdn02.moecube.com:444/koishipro/contents/strings.conf
artifacts
:
paths
:
-
DataEditorX/data
build_dex
:
stage
:
build
dependencies
:
[]
dependencies
:
-
get_nuget
-
get_data
tags
:
-
vs
only
:
-
master
script
:
-
cmd /c nuget restore
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" DataEditorX.sln /p:Configuration=Release /p:Platform="Any CPU" /p:OutDir=$PWD/output/ /p:TargetFrameworkVersion=v4.6
-
'
.\tools\nuget.exe
restore'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" DataEditorX.sln /p:Configuration=Release /p:Platform="Any CPU" /p:OutDir=..\output /p:TargetFrameworkVersion=v4.6'
artifacts
:
paths
:
-
output
pack
:
stage
:
pack
dependencies
:
-
build_dex
tags
:
-
linux
script
:
-
DEX_VERSION=$(grep -oP '\[DataEditorX\](.+)\[DataEditorX\]' DataEditorX/readme.txt | sed 's/\[DataEditorX\]//g')
-
mkdir -p dist/releases
-
cd output
-
7z a -mx9 ../dist/releases/DataEditorX-
4.0.0.0
.zip ./*
-
7z a -mx9 ../dist/releases/DataEditorX-
$DEX_VERSION
.zip ./*
-
cd ..
-
copy DataEditorX/readme.txt dist/version.txt
-
cp DataEditorX/readme.txt dist/version.txt
artifacts
:
paths
:
-
dist/
...
...
@@ -28,12 +65,10 @@ build_dex:
upload_to_minio
:
stage
:
deploy
dependencies
:
-
build_dex
-
pack
tags
:
-
linux
image
:
python
script
:
-
pip install -U -i https://mirrors.aliyun.com/pypi/simple/ awscli
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/DataEditorX
only
:
-
tags
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