Only upload on master branch
This commit is contained in:
parent
c7ef72a292
commit
2488e4ca4c
1 changed files with 6 additions and 1 deletions
|
@ -20,4 +20,9 @@ install:
|
|||
|
||||
# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
|
||||
script:
|
||||
- ./src/soh-upload/upload.sh
|
||||
- if [ $TRAVIS_BRANCH = 'master' ]
|
||||
then
|
||||
./src/soh-upload/upload.sh
|
||||
else
|
||||
echo Skipping upload on non-master branch
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue