Commit 30e18bfb authored by Razvan Radulescu's avatar Razvan Radulescu
Browse files

Fix export preset not found problem

As it happens, when we first build the game via GUI godot creates for us
this `export_presets.cfg` file. It seems that without it, the CLI doen't
recognize any presets even if the export templates are installed
properly.

This commit should fix the issue
parent a4dc5b6c
Pipeline #4888 passed with stage
in 4 minutes and 25 seconds
image: ioribranford/godot-docker:latest
variables: variables:
BUILD_NAME: game BUILD_NAME: game
# GODOT_VERSION: 3.0.6 GODOT_VERSION: 3.0.6
# GODOT_VARIANT: stable GODOT_VARIANT: stable
purism: purism:
stage: build stage: build
before_script: before_script:
- mkdir -v -p ./build - apt-get update -q
# - apt-get update -q - apt-get install -yq wget unzip
# - apt-get install -yq wget unzip - mkdir -v -p ./downloads ./build
# - mkdir -v -p ./downloads ./build - mkdir -v -p ~/.local/share/godot/templates ~/.cache ~/.config/godot
# - mkdir -v -p ~/.local/share/godot/templates ~/.cache ~/.config/godot - cd ./downloads
# - cd ./downloads - wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip"
# - wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip" - wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz"
# - wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz" - unzip Godot_v*_linux_headless.64.zip
# - unzip Godot_v*_linux_headless.64.zip - unzip Godot_v*_export_templates.tpz
# - unzip Godot_v*_export_templates.tpz - mv -v Godot_v*_linux_headless.64 /bin/godot
# - mv -v Godot_v*_linux_headless.64 /bin/godot - mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT}
# - mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT} - cd ..
# - cd .. - rm -rf ./downloads
# - rm -rf ./downloads
script: script:
- godot -v -q --path ./game --export "Linux/X11" ../build/$BUILD_NAME.x64 - godot -v -q --path ./game --export "Linux/X11" ../build/$BUILD_NAME.x64
artifacts: artifacts:
......
[preset.0]
name="Linux/X11"
platform="Linux/X11"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
patch_list=PoolStringArray( )
[preset.0.options]
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
binary_format/64_bits=true
custom_template/release=""
custom_template/debug=""
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