Fix export_templates folder name in Dockerfile and CI scripts (#135)
This commit is contained in:
8
.github/workflows/godot-ci.yml
vendored
8
.github/workflows/godot-ci.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p ~/.local/share/godot/templates
|
mkdir -v -p ~/.local/share/godot/templates
|
||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
|
||||||
- name: Windows Build
|
- name: Windows Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/windows
|
mkdir -v -p build/windows
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p ~/.local/share/godot/templates
|
mkdir -v -p ~/.local/share/godot/templates
|
||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
|
||||||
- name: Linux Build
|
- name: Linux Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/linux
|
mkdir -v -p build/linux
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p ~/.local/share/godot/templates
|
mkdir -v -p ~/.local/share/godot/templates
|
||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
|
||||||
- name: Web Build
|
- name: Web Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/web
|
mkdir -v -p build/web
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p ~/.local/share/godot/templates
|
mkdir -v -p ~/.local/share/godot/templates
|
||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
|
||||||
- name: Mac Build
|
- name: Mac Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/mac
|
mkdir -v -p build/mac
|
||||||
|
|||||||
@@ -25,12 +25,12 @@ RUN wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}${SUBDIR}/G
|
|||||||
&& wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}${SUBDIR}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \
|
&& wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}${SUBDIR}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \
|
||||||
&& mkdir ~/.cache \
|
&& mkdir ~/.cache \
|
||||||
&& mkdir -p ~/.config/godot \
|
&& mkdir -p ~/.config/godot \
|
||||||
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE_NAME} \
|
&& mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME} \
|
||||||
&& ln -s ~/.local/share/godot/templates ~/.local/share/godot/export_templates \
|
&& ln -s ~/.local/share/godot/templates ~/.local/share/godot/export_templates \
|
||||||
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip \
|
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip \
|
||||||
&& mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM} /usr/local/bin/godot \
|
&& mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM} /usr/local/bin/godot \
|
||||||
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \
|
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \
|
||||||
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE_NAME} \
|
&& mv templates/* ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME} \
|
||||||
&& rm -f Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip
|
&& rm -f Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip
|
||||||
|
|
||||||
ADD getbutler.sh /opt/butler/getbutler.sh
|
ADD getbutler.sh /opt/butler/getbutler.sh
|
||||||
|
|||||||
@@ -19,14 +19,14 @@ https://hub.docker.com/r/barichello/godot-ci/
|
|||||||
### Mono/C#
|
### Mono/C#
|
||||||
|
|
||||||
To build a Godot project with Mono (C#) enabled, you must do two things for each job:
|
To build a Godot project with Mono (C#) enabled, you must do two things for each job:
|
||||||
1. Change the container's `image` tag from `barichello/godot-ci:VERSION` to `barichello/godot-ci:mono-VERSION` in `.gitlab-ci.yml` (Gitlab) or `godot-ci.yml` (Github). (e.g. `barichello/godot-ci:mono-3.2.1`).
|
1. Change the container's `image` tag from `barichello/godot-ci:VERSION` to `barichello/godot-ci:mono-VERSION` in `.gitlab-ci.yml` (Gitlab) or `godot-ci.yml` (Github). (e.g. `barichello/godot-ci:mono-3.2.1`).
|
||||||
2. You will also need to change your "Setup" step's run commands (looks like `run: mv /root/.local ...`) from ending with `...${GODOT_VERSION}.stable` to ending with `...${GODOT_VERSION}.stable.mono`. You will need to do this for both directories in the command.
|
2. You will also need to change your "Setup" step's run commands (looks like `run: mv /root/.local ...`) from ending with `...${GODOT_VERSION}.stable` to ending with `...${GODOT_VERSION}.stable.mono`. You will need to do this for both directories in the command.
|
||||||
```bash
|
```bash
|
||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
|
||||||
```
|
```
|
||||||
becomes:
|
becomes:
|
||||||
```bash
|
```bash
|
||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable.mono ~/.local/share/godot/templates/${GODOT_VERSION}.stable.mono
|
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable.mono ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable.mono
|
||||||
```
|
```
|
||||||
|
|
||||||
### Android
|
### Android
|
||||||
|
|||||||
@@ -35,12 +35,12 @@ RUN wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}${SUBDIR}/m
|
|||||||
|
|
||||||
RUN mkdir ~/.cache \
|
RUN mkdir ~/.cache \
|
||||||
&& mkdir -p ~/.config/godot \
|
&& mkdir -p ~/.config/godot \
|
||||||
&& mkdir -p ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE_NAME}.mono \
|
&& mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME}.mono \
|
||||||
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}.zip \
|
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}.zip \
|
||||||
&& mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${FILENAME_GODOT_PLATFORM} /usr/local/bin/godot \
|
&& mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${FILENAME_GODOT_PLATFORM} /usr/local/bin/godot \
|
||||||
&& mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}/GodotSharp /usr/local/bin/GodotSharp \
|
&& mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}/GodotSharp /usr/local/bin/GodotSharp \
|
||||||
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_export_templates.tpz \
|
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_export_templates.tpz \
|
||||||
&& mv templates/* ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE_NAME}.mono \
|
&& mv templates/* ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME}.mono \
|
||||||
&& rm -f Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_export_templates.tpz Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}.zip
|
&& rm -f Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_export_templates.tpz Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${ZIP_GODOT_PLATFORM}.zip
|
||||||
|
|
||||||
ADD getbutler.sh /opt/butler/getbutler.sh
|
ADD getbutler.sh /opt/butler/getbutler.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user