Commit f095f293 authored by nanahira's avatar nanahira

dynamic dex version

parent 4fb19ec5
Pipeline #9069 failed
...@@ -20,10 +20,22 @@ get_nuget: ...@@ -20,10 +20,22 @@ get_nuget:
paths: paths:
- tools - 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: build_dex:
stage: build stage: build
dependencies: dependencies:
- get_nuget - get_nuget
- linux
tags: tags:
- vs - vs
script: script:
...@@ -40,9 +52,10 @@ pack: ...@@ -40,9 +52,10 @@ pack:
tags: tags:
- linux - linux
script: script:
- DEX_VERSION=$(grep -oP '\[DataEditorX\](.+)\[DataEditorX\]' DataEditorX/readme.txt | sed 's/\[DataEditorX\]//g')
- mkdir -p dist/releases - mkdir -p dist/releases
- cd output - cd output
- 7z a -mx9 ../dist/releases/DataEditorX-4.0.0.0.zip ./* - 7z a -mx9 ../dist/releases/DataEditorX-$DEX_VERSION.zip ./*
- cd .. - cd ..
- cp DataEditorX/readme.txt dist/version.txt - cp DataEditorX/readme.txt dist/version.txt
artifacts: 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