Commit c57bd2cc authored by nanahira's avatar nanahira

fix pack script

parent 36478a6d
Pipeline #33901 passed with stages
in 40 minutes and 32 seconds
...@@ -4,7 +4,9 @@ set -o errexit ...@@ -4,7 +4,9 @@ set -o errexit
ARCHIVE_FILES=(ygopro cards.cdb locales fonts sound textures strings.conf system.conf pack) ARCHIVE_FILES=(ygopro cards.cdb locales fonts sound textures strings.conf system.conf pack)
TARGET_PLATFORM=linux if [[ -z "$TARGET_PLATFORM" ]]; then
TARGET_PLATFORM=linux
fi
apt update && apt -y install tar zstd apt update && apt -y install tar zstd
mkdir dist replay mkdir dist replay
......
...@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro LICENSE README.md lflist.conf strings.conf system.conf car ...@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro LICENSE README.md lflist.conf strings.conf system.conf car
# TARGET_LOCALE # TARGET_LOCALE
# ARCHIVE_SUFFIX # ARCHIVE_SUFFIX
TARGET_PLATFORM=linux if [[ -z "$TARGET_PLATFORM" ]]; then
TARGET_PLATFORM=linux
fi
apt update && apt -y install tar git zstd apt update && apt -y install tar git zstd
mkdir dist replay mkdir dist replay
......
...@@ -4,7 +4,9 @@ set -o errexit ...@@ -4,7 +4,9 @@ set -o errexit
ARCHIVE_FILES=(ygopro.app cards.cdb locales fonts sound textures strings.conf system.conf pack) ARCHIVE_FILES=(ygopro.app cards.cdb locales fonts sound textures strings.conf system.conf pack)
TARGET_PLATFORM=darwin if [[ -z "$TARGET_PLATFORM" ]]; then
TARGET_PLATFORM=darwin
fi
apt update && apt -y install tar zstd apt update && apt -y install tar zstd
mkdir dist replay mkdir dist replay
......
...@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro.app LICENSE README.md lflist.conf strings.conf system.conf ...@@ -6,7 +6,9 @@ ARCHIVE_FILES=(ygopro.app LICENSE README.md lflist.conf strings.conf system.conf
# TARGET_LOCALE # TARGET_LOCALE
# ARCHIVE_SUFFIX # ARCHIVE_SUFFIX
TARGET_PLATFORM=darwin if [[ -z "$TARGET_PLATFORM" ]]; then
TARGET_PLATFORM=darwin
fi
apt update && apt -y install tar git zstd apt update && apt -y install tar git zstd
mkdir dist replay mkdir dist replay
......
...@@ -9,7 +9,9 @@ if [[ "$TARGET_LOCALE" == "zh-CN" ]]; then ...@@ -9,7 +9,9 @@ if [[ "$TARGET_LOCALE" == "zh-CN" ]]; then
fi fi
# TARGET_LOCALE # TARGET_LOCALE
TARGET_PLATFORM=win32 if [[ -z "$TARGET_PLATFORM" ]]; then
TARGET_PLATFORM=win32
fi
apt update && apt -y install p7zip-full git apt update && apt -y install p7zip-full git
mkdir dist replay mkdir dist replay
......
...@@ -4,7 +4,9 @@ set -o errexit ...@@ -4,7 +4,9 @@ set -o errexit
ARCHIVE_FILES=(ygopro.exe cards.cdb locales fonts sound textures strings.conf system.conf skin pack) ARCHIVE_FILES=(ygopro.exe cards.cdb locales fonts sound textures strings.conf system.conf skin pack)
TARGET_PLATFORM=win32 if [[ -z "$TARGET_PLATFORM" ]]; then
TARGET_PLATFORM=win32
fi
apt update && apt -y install tar zstd apt update && apt -y install tar zstd
mkdir dist replay mkdir dist replay
......
...@@ -10,7 +10,9 @@ fi ...@@ -10,7 +10,9 @@ fi
# TARGET_LOCALE # TARGET_LOCALE
# ARCHIVE_SUFFIX # ARCHIVE_SUFFIX
TARGET_PLATFORM=win32 if [[ -z "$TARGET_PLATFORM" ]]; then
TARGET_PLATFORM=win32
fi
apt update && apt -y install tar git zstd apt update && apt -y install tar git zstd
mkdir dist replay mkdir dist replay
......
...@@ -529,6 +529,8 @@ pack_linuxarm_zh-CN_gz: ...@@ -529,6 +529,8 @@ pack_linuxarm_zh-CN_gz:
- ._pack_script_linux - ._pack_script_linux
- ._pack_format_gz - ._pack_format_gz
- ._locale_zh-CN - ._locale_zh-CN
variables:
TARGET_PLATFORM: linuxarm
#pack_linux_zh-CN_zst: #pack_linux_zh-CN_zst:
# extends: # extends:
...@@ -585,6 +587,8 @@ pack_linuxarm_en-US_gz: ...@@ -585,6 +587,8 @@ pack_linuxarm_en-US_gz:
- ._pack_script_linux - ._pack_script_linux
- ._pack_format_gz - ._pack_format_gz
- ._locale_en-US - ._locale_en-US
variables:
TARGET_PLATFORM: linuxarm
#pack_linux_en-US_zst: #pack_linux_en-US_zst:
# extends: # extends:
......
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