Skip to content

Commit

Permalink
attempt two at versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kiesenverseist committed Nov 7, 2018
1 parent afaf2df commit 1951abc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ install:
# The exported game wills be written to the folder specified after the second "-v" flag
# "-v $(pwd)/output/html5:/build/output" writes the exported game to the "output/html5" folder.
script:
- docker run -e EXPORT_NAME="Linux/X11" -e OUTPUT_FILENAME="${GAME_NAME}" -v $(pwd):/build/src -v $(pwd)/output/linux:/build/output kiesenverseist/docker-godot-export:3-1-alpha2
- docker run -e EXPORT_NAME="Windows Desktop" -e OUTPUT_FILENAME="${GAME_NAME}.exe" -v $(pwd):/build/src -v $(pwd)/output/windows:/build/output kiesenverseist/docker-godot-export:3-1-alpha2
- docker run -e EXPORT_NAME="Mac OSX" -e OUTPUT_FILENAME="${GAME_NAME}-mac.zip" -v $(pwd):/build/src -v $(pwd)/output/mac:/build/output kiesenverseist/docker-godot-export:3-1-alpha2
- docker run -e EXPORT_NAME="Linux/X11" -e OUTPUT_FILENAME="${GAME_NAME}-$TRAVIS_TAG" -v $(pwd):/build/src -v $(pwd)/output/linux:/build/output kiesenverseist/docker-godot-export:3-1-alpha2
- docker run -e EXPORT_NAME="Windows Desktop" -e OUTPUT_FILENAME="${GAME_NAME}-$TRAVIS_TAG.exe" -v $(pwd):/build/src -v $(pwd)/output/windows:/build/output kiesenverseist/docker-godot-export:3-1-alpha2
- docker run -e EXPORT_NAME="Mac OSX" -e OUTPUT_FILENAME="${GAME_NAME}-$TRAVIS_TAG-mac.zip" -v $(pwd):/build/src -v $(pwd)/output/mac:/build/output kiesenverseist/docker-godot-export:3-1-alpha2

# Now comes deployment related code.
# To make this work, you need to set a GITHUB_TOKEN environment variable through
Expand All @@ -27,8 +27,8 @@ script:
# This creates zip files from the exported game builds for the
# three desktop platforms
before_deploy:
- zip -r -j "${GAME_NAME}-linux.zip" output/linux
- zip -r -j "${GAME_NAME}-windows.zip" output/windows
- zip -r -j "${GAME_NAME}-$TRAVIS_TAG-linux.zip" output/linux
- zip -r -j "${GAME_NAME}-$TRAVIS_TAG-windows.zip" output/windows
# No need to zip the mac game, because it already is a zip
- cp -R output/mac/* .

Expand Down

0 comments on commit 1951abc

Please sign in to comment.