Merge pull request #5559 from Mailaender/travis-pedantic-braces

Fixed not being pedantic enough with curly braces
This commit is contained in:
Paul Chote
2014-06-05 23:57:09 +12:00
2 changed files with 7 additions and 7 deletions

View File

@@ -36,19 +36,19 @@ notifications:
before_deploy:
- sudo apt-get install nsis markdown dpkg rpm
- DOTVERSION=`echo $TRAVIS_TAG | sed "s/-/\\./g"`
- DOTVERSION=`echo ${TRAVIS_TAG} | sed "s/-/\\./g"`
- cd packaging
- mkdir build
- ./package-all.sh $TRAVIS_TAG $PWD/build/
- ./package-all.sh ${TRAVIS_TAG} ${PWD}/build/
deploy:
provider: releases
api_key:
secure: "cMC68erxuf0jb4Pe0sOH4m1f7I2LWPUatD9BC0WeZ9PwTnWOzrm0hnjZIES4TTKVo8WIfZIiCfxpdAFeoh6bomG2MsKwSKMc8qHGhfNGqPnyzYh6zdPZaA+4Q3TDQI3DrziyDnQUFeH1h/7UZLDLxtDrOtcYcGdNg5VjvV9fJ7g="
file:
- build/OpenRA-$TRAVIS_TAG.exe
- build/OpenRA-$TRAVIS_TAG.zip
- build/openra-$DOTVERSION-1.noarch.rpm
- build/openra_$DOTVERSION_all.deb
- build/OpenRA-${TRAVIS_TAG}.exe
- build/OpenRA-${TRAVIS_TAG}.zip
- build/openra-${DOTVERSION}-1.noarch.rpm
- build/openra_${DOTVERSION}_all.deb
skip_cleanup: true
on:
all_branches: true

View File

@@ -26,7 +26,7 @@ cp openra.spec "$3/SPECS/"
cd "$3"
rpmbuild --target noarch --buildroot /tmp/openra/ -bb SPECS/openra.spec
rpmbuild --target noarch --buildroot /tmp/openra/ -bb SPECS/openra.spec --quiet
if [ $? -ne 0 ]; then
exit 1
fi