Skip to content

Commit

Permalink
Publish pre-built release tarballs on Github
Browse files Browse the repository at this point in the history
  • Loading branch information
freeekanayaka committed Jul 30, 2018
1 parent 744c5f2 commit 03768d5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ script:
- make
- make ./dqlite-test
- ./dqlite-test
- tar cfz build-amd64.tar.gz --transform 's|.libs/||g' --transform 's|include/||g' include/dqlite.h dqlite.pc .libs/libdqlite.so*
- mkdir deploy
- mv build-amd64.tar.gz deploy/dqlite-amd64${DEBUG}-$(cat VERSION).tar.gz

compiler:
- gcc
Expand All @@ -41,3 +44,13 @@ matrix:

after_success:
- bash <(curl -s https://codecov.io/bash)

deploy:
provider: releases
api_key: '$GITHUB_API_KEY'
file_glob: true
file: 'deploy/*'
skip_cleanup: true
on:
tags: true
all_branches: true
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0

0 comments on commit 03768d5

Please sign in to comment.