Skip to content

Commit

Permalink
Build: Tweak Travis script to deploy correct archives
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinCampbell committed Aug 4, 2017
1 parent 132c2b7 commit 663a8e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ notifications:
on_failure: always
on_pull_requests: false

before_deploy:
- |
# Only deploy OSX-specific OmniSharp from the OSX.
# All other builds should be deployed by Linux CI.
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
rm artifacts/package/omnisharp-osx.tar.gz
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
rm artifacts/package/mono.tar.gz
rm artifacts/package/omnisharp-linux-x86.tar.gz
rm artifacts/package/omnisharp-linux-x64.tar.gz
fi
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 663a8e3

Please sign in to comment.