Skip to content

Commit 2d66cde

Browse files
authored
Merge pull request #45 from utPLSQL/feature/github_releases
Feature/GitHub releases
2 parents 194525b + bbcdf34 commit 2d66cde

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
@@ -26,9 +26,15 @@ before_deploy:
2626
- bash .travis/create_release.sh
2727

2828
deploy:
29-
provider: bintray
30-
file: bintray.json
31-
user: $BINTRAY_USER
32-
key: $BINTRAY_API_KEY
33-
dry-run: false
34-
on: develop
29+
- provider: releases
30+
api_key: $GITHUB_API_TOKEN
31+
file: utPLSQL-cli.zip
32+
skip_cleanup: true
33+
on:
34+
tags: true
35+
- provider: bintray
36+
file: bintray.json
37+
user: $BINTRAY_USER
38+
key: $BINTRAY_API_KEY
39+
dry-run: false
40+
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)