Commit f095f293 authored by nanahira's avatar nanahira

dynamic dex version

parent 4fb19ec5
Pipeline #9069 failed
......@@ -20,10 +20,22 @@ get_nuget:
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:
- get_nuget
- linux
tags:
- vs
script:
......@@ -40,9 +52,10 @@ pack:
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 ..
- cp DataEditorX/readme.txt dist/version.txt
artifacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment