Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oott123 authored Jan 7, 2018
1 parent 7df577b commit a179a91
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,15 @@ script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release .. && make -j${JOBS} VERBOSE=1

pre_deploy:
- find .
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
mv ./build/bin/tdlib_json_cli ./build/bin/tdlib_json_cli_macos
fi

deploy:
provider: releases
api_key: $GITHUB_TOKEN
file: "build/bin/tdlib_json_cli"
file_glob: true
file: build/bin/*
skip_cleanup: true
on:
tags: true

0 comments on commit a179a91

Please sign in to comment.