Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added github releases uploader
  • Loading branch information
jgebal committed Nov 15, 2017
commit 71f63874d7c2d2fe5eda3a2e9a56735cdd1d27d1
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ before_deploy:
- bash .travis/create_release.sh

deploy:
provider: bintray
file: bintray.json
user: $BINTRAY_USER
key: $BINTRAY_API_KEY
dry-run: false
on: develop
- provider: releases
api_key: $github_api_token
file: utPLSQL-cli.zip
skip_cleanup: true
on:
tags: true
- provider: bintray
file: bintray.json
user: $BINTRAY_USER
key: $BINTRAY_API_KEY
dry-run: false
on: develop
1 change: 1 addition & 0 deletions .travis/create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ VERSION=`date +%Y%m%d%H%M`
mkdir dist
mv target/appassembler utPLSQL-cli
zip -r -q dist/utPLSQL-cli-${TRAVIS_BRANCH}-${VERSION}.zip utPLSQL-cli
zip -r -q utPLSQL-cli.zip utPLSQL-cli

cat > bintray.json <<EOF
{
Expand Down