1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-04 09:42:30 +02:00
RedMew/.travis.yml
2020-08-30 17:09:42 -04:00

44 lines
1.7 KiB
YAML

language: python
os: linux
dist: xenial
branches:
only:
- develop
install: skip
script: skip
before_deploy:
- ./.travis/check_locale.sh
- git config --local user.name "$github_user_name"
- git config --local user.email "$github_user_email"
- DATE_FORMATTED=$(date +'%Y-%m-%d')
- export DATE_FORMATTED
- COMMIT_SHA=$(git log --format=%h -1)
- export COMMIT_SHA
- TRAVIS_TAG="release/"$DATE_FORMATTED-$COMMIT_SHA
- export TRAVIS_TAG
- git tag "$TRAVIS_TAG"
- RELEASE_NAME='Release - '"$DATE_FORMATTED"' - '"$COMMIT_SHA"
- export RELEASE_NAME
- ./.travis/release_builder.sh
deploy:
on:
repo: Refactorio/RedMew
branch: develop
provider: releases
token:
secure: SZsTjOLenetur34FEDCOrOw1jCI0xoZ0KyCrsrBpieQ0+P0hlVgRjEhyg74IiKC5cX5+HS329jUiIs7dUts2mGF09gCdYTPtKtkjmbhZK61DkMSplUIUDJDv5lCsR9BQTSX0x38+olkCTZAgFnU6T449auwd4Htsw6NOKI1V0h33K5YX4QJeMwnFQUorQ5lIl9+aEz/PVKHV0Glqnfp52O/Tn2nqfZxBI48UXRkJJIJLfVi74gPpD0HjspSYoCig3u6j9Rq2HcML+/geyJeM0aL6vZUsZhADIBT2x2MSZtN5KGRby+HEGnyj1u8Bp7BNpbioXtVZ3e57hrqTIbNzMx/8p4rqip9lm7ClP6uPTlgMfHKsnFYKOWiyuMGeFtJxcb/3KzMt4wXxZQQAkoJ4BnsYcm0G7H3EkAMbIF0piOwp2Fn8MCrmUSJcb+dOEe2ixe8p00vi9ffnvBr4Qz+nyqQU6D1aq3DNafmQn2eshuqrhB6+s86uj/3F9fFaPD+GhjL9t7zGgkX/RuLDPxdM7Xo7lc6yUhrFGA2yrkROqPq4M7bCmMcegRyvl27mGsh1R6FTwAEShHa7CU5/8bnnSxsp1YIdHoMWhCBEeFrm3lz6w+gly+iAxjkc0lzREjf/nYmjWSqB1TXUMbssg/G0czCgmTYlq9G7QhhPaWd0D2I=
file:
- RedMew.zip
- Diggy.zip
- Crashsite.zip
- Tetris.zip
- Beach.zip
- Danger_Ores.zip
- Grid_Islands_Rotated.zip
- Toxic_Danger_Ore_Jungle.zip
- Hub_Spiral.zip
- Bacon_Islands.zip
- Triangle_of_Death.zip
prerelease: false
name: "$RELEASE_NAME"