Replace environment name with string directly

This commit is contained in:
Vaillant jeremy
2021-08-01 14:33:35 +02:00
parent bee1de6a3e
commit 842ed4bb98
+3 -16
View File
@@ -9,9 +9,6 @@ platform:
os: linux os: linux
arch: amd64 arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone: clone:
depth: 1 depth: 1
@@ -22,7 +19,7 @@ steps:
- name: binary - name: binary
path: releases/windows path: releases/windows
commands: commands:
- godot --export "WindowsDebug" "releases/windows/${EXPORT_NAME}.exe" - godot --export "WindowsDebug" "releases/windows/Puzzle Quest.exe"
- name: WindowsDeploy - name: WindowsDeploy
image: barichello/godot-ci:3.3.2 image: barichello/godot-ci:3.3.2
volumes: volumes:
@@ -49,9 +46,6 @@ platform:
os: linux os: linux
arch: amd64 arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone: clone:
depth: 1 depth: 1
@@ -68,7 +62,7 @@ steps:
- sed 's@keystore/debug=".*"@keystore/debug="'/root/debug.keystore'"@g' -i export_presets.cfg - sed 's@keystore/debug=".*"@keystore/debug="'/root/debug.keystore'"@g' -i export_presets.cfg
# - sed 's@keystore/release_user=".*"@keystore/release_user="'$SECRET_RELEASE_KEYSTORE_USER'"@g' -i export_presets.cfg # - sed 's@keystore/release_user=".*"@keystore/release_user="'$SECRET_RELEASE_KEYSTORE_USER'"@g' -i export_presets.cfg
# - sed 's@keystore/release_password=".*"@keystore/release_password="'$SECRET_RELEASE_KEYSTORE_PASSWORD'"@g' -i export_presets.cfg # - sed 's@keystore/release_password=".*"@keystore/release_password="'$SECRET_RELEASE_KEYSTORE_PASSWORD'"@g' -i export_presets.cfg
- godot --export "AndroidDebug" "releases/android/${EXPORT_NAME}.apk" - godot --export "AndroidDebug" "releases/android/Puzzle Quest.apk"
- name: AndroidDeploy - name: AndroidDeploy
image: barichello/godot-ci:3.3.2 image: barichello/godot-ci:3.3.2
volumes: volumes:
@@ -95,9 +89,6 @@ platform:
os: linux os: linux
arch: amd64 arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone: clone:
depth: 1 depth: 1
@@ -108,7 +99,7 @@ steps:
- name: binary - name: binary
path: releases/linux path: releases/linux
commands: commands:
- godot --export "Linux/X11Debug" "releases/linux/${EXPORT_NAME}.x86_64" - godot --export "Linux/X11Debug" "releases/linux/Puzzle Quest.x86_64"
- name: LinuxDeploy - name: LinuxDeploy
image: barichello/godot-ci:3.3.2 image: barichello/godot-ci:3.3.2
volumes: volumes:
@@ -135,13 +126,9 @@ platform:
os: linux os: linux
arch: amd64 arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone: clone:
depth: 1 depth: 1
trigger: trigger:
branch: branch:
- master - master