mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Merge pull request #1550 from wiremod/travis-release
Teach Travis how to make a .gma file from tags
This commit is contained in:
commit
b218ccb3ab
15
.travis.yml
15
.travis.yml
@ -27,3 +27,18 @@ script:
|
||||
- git -c core.whitespace=-blank-at-eol,-blank-at-eof,-space-before-tab diff --check $TRAVIS_COMMIT_RANGE
|
||||
- git diff --name-only $TRAVIS_COMMIT_RANGE | grep '\.lua$' | grep -v '^lua/entities/gmod_wire_expression2/core/' | xargs --no-run-if-empty luacheck
|
||||
- luacheck .luacheckrc
|
||||
|
||||
before_deploy:
|
||||
- curl -L "https://github.com/AbigailBuccaneer/gmad-build/releases/download/v20180201/gmad_linux" -o "$HOME/gmad_linux"
|
||||
- chmod +x "$HOME/gmad_linux"
|
||||
- $HOME/gmad_linux create -folder . -out wiremod.gma
|
||||
|
||||
deploy:
|
||||
skip_cleanup: true
|
||||
provider: releases
|
||||
api_key:
|
||||
secure: EK1zfysVaXMB52mfDlPFwaqM7zGJE/G1iFKyjWMV20GDqZkE9/g+KlwwaRuz7q0NX0KgGuc7dk5j0JQXTg3Z14kUYdIYSq3tDkp0YBeePqVGUgQoA19ZFPlBdZEV0EF3dDHMYmErNYBuCYW7Twrzy++WgzghCcthXaV9jboF5lk=
|
||||
file: wiremod.gma
|
||||
on:
|
||||
repo: wiremod/wire
|
||||
tags: true
|
||||
|
Loading…
Reference in New Issue
Block a user