Fix content of the release zip, only build the master branch

This commit is contained in:
Maschell 2018-06-26 12:48:47 +02:00
parent bc29229b7a
commit 2b38880961
1 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,9 @@ language: cpp
os: linux
sudo: false
dist: trusty
branches:
only:
- master
env:
global:
- DEVKITPRO=/opt/devkitpro
@ -48,11 +51,11 @@ before_deploy:
- cd $TRAVIS_BUILD_DIR/
- mkdir -p "wiiu/plugins"
- commit="$(git rev-parse --short=7 HEAD)"
- find plugins -type f -name "*.mod" | xargs -i cp {} wiiu/plugins
- find -type f -name "*.mod" | xargs -i cp {} wiiu/plugins
- zip -r wups_playground_plugins_$commit.zip wiiu
- git config --local user.name "Maschell"
- git config --local user.email "Maschell@gmx.de"
- git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
- git tag "WUPSPluginPlayground-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
deploy:
provider: releases
skip_cleanup: true