Skip to content

Commit 7af404c

Browse files
author
Samuel Nitsche
committed
Merge remote-tracking branch 'upstream/feature/github_releases' into feature/version-check
2 parents b4ef181 + bbcdf34 commit 7af404c

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.travis.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,15 @@ before_deploy:
3939
- bash .travis/create_release.sh
4040

4141
deploy:
42-
provider: bintray
43-
file: bintray.json
44-
user: $BINTRAY_USER
45-
key: $BINTRAY_API_KEY
46-
dry-run: false
47-
on: develop
42+
- provider: releases
43+
api_key: $GITHUB_API_TOKEN
44+
file: utPLSQL-cli.zip
45+
skip_cleanup: true
46+
on:
47+
tags: true
48+
- provider: bintray
49+
file: bintray.json
50+
user: $BINTRAY_USER
51+
key: $BINTRAY_API_KEY
52+
dry-run: false
53+
on: develop

.travis/create_release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ VERSION=`date +%Y%m%d%H%M`
66
mkdir dist
77
mv target/appassembler utPLSQL-cli
88
zip -r -q dist/utPLSQL-cli-${TRAVIS_BRANCH}-${VERSION}.zip utPLSQL-cli
9+
zip -r -q utPLSQL-cli.zip utPLSQL-cli
910

1011
cat > bintray.json <<EOF
1112
{

0 commit comments

Comments
 (0)