forked from Refactorio/RedMew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.65 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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"