Files
puzzle-quest/releases/.drone.yml
T

80 lines
1.7 KiB
YAML
Raw Normal View History

2021-07-24 18:09:55 +02:00
---
2021-08-01 12:56:09 +02:00
# Windows Development version
2021-07-24 18:09:55 +02:00
kind: pipeline
type: docker
2021-08-01 12:56:09 +02:00
name: WindowsDebugVersion
2021-07-24 18:09:55 +02:00
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone:
depth: 1
steps:
- name: WindowsDebug
2021-07-24 18:09:55 +02:00
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/windows
2021-07-24 18:09:55 +02:00
commands:
- godot --export "WindowsDebug" "releases/windows/${EXPORT_NAME}.exe"
2021-07-24 18:09:55 +02:00
- name: WindowsDeploy
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/windows
2021-08-01 13:00:11 +02:00
environment:
BUTLER_API_KEY:
from_secret: BUTLER_API_KEY
ITCHIO_USERNAME:
from_secret: ITCHIO_USERNAME
ITCHIO_GAME:
from_secret: ITCHIO_GAME
2021-07-24 18:09:55 +02:00
commands:
2021-08-01 13:12:16 +02:00
- export ${BUTLER_API_KEY}
2021-08-01 13:11:26 +02:00
- echo "Username : $${ITCHIO_USERNAME} -- ${ITCHIO_USERNAME}"
- butler push "releases/windows" "$${ITCHIO_USERNAME}/$${ITCHIO_GAME}:windows"
# - name: AndroidDebug
# image: devcrea/godot-ci:3.3.2-android
# commands:
# - apt-get update
# - apt-get install -y wget
# - wget -O /root/release.keystore https://u.pcloud.link/publink/show?code=XZzCwxXZoGFtYGSzBQHB5DPQQW15SuUczA97
# - sed 's@keystore/release=".*"@keystore/release="'/root/release.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_password=".*"@keystore/release_password="'$SECRET_RELEASE_KEYSTORE_PASSWORD'"@g' -i export_presets.cfg
# - godot --export "Android" "releases/android/${EXPORT_NAME}.apk"
2021-07-31 18:26:36 +02:00
trigger:
branch:
- dev
---
# For Production version
kind: pipeline
type: docker
name: ReleaseVersion
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone:
depth: 1
trigger:
branch:
2021-07-31 18:26:36 +02:00
- master