Skip to content

Commit

Permalink
Only deploy releases and not pre-releases to rebirthdb's stable packa…
Browse files Browse the repository at this point in the history
…ges on bintray
  • Loading branch information
floydkots committed Aug 15, 2018
1 parent 2c17533 commit ae0e4f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ jobs:
- stage: Packaging and Deployment
# We don't sign the package (SIGN_PACKAGE=0) while building it on travis because bintray will do that
# automatically once we upload the package.
# This condition '"$TRAVIS_TAG" =~ ^v[\d]+.[\d]+.[\d]+$' matches tags of the form v2.4.0 and does not
# match v2.4.0-beta.0
name: Trusty Packaging and Deployment
env: DISTRIBUTION=trusty
before_script:
Expand Down Expand Up @@ -255,6 +257,7 @@ jobs:
on:
branch: next
tags: true
condition: '"$TRAVIS_TAG" =~ ^v[\d]+.[\d]+.[\d]+$'
skip_cleanup: true
- provider: script
script: >-
Expand Down Expand Up @@ -304,6 +307,7 @@ jobs:
on:
branch: next
tags: true
condition: '"$TRAVIS_TAG" =~ ^v[\d]+.[\d]+.[\d]+$'
skip_cleanup: true
- provider: script
script: >-
Expand Down Expand Up @@ -353,6 +357,7 @@ jobs:
on:
branch: next
tags: true
condition: '"$TRAVIS_TAG" =~ ^v[\d]+.[\d]+.[\d]+$'
skip_cleanup: true
- provider: script
script: >-
Expand Down Expand Up @@ -402,6 +407,7 @@ jobs:
on:
branch: next
tags: true
condition: '"$TRAVIS_TAG" =~ ^v[\d]+.[\d]+.[\d]+$'
skip_cleanup: true
- provider: script
script: >-
Expand Down Expand Up @@ -451,6 +457,7 @@ jobs:
on:
branch: next
tags: true
condition: '"$TRAVIS_TAG" =~ ^v[\d]+.[\d]+.[\d]+$'
skip_cleanup: true
- provider: script
script: >-
Expand Down Expand Up @@ -491,10 +498,11 @@ jobs:
--override=true
"/rebirthdb_packages/rebirthdb*.rpm"
$BINTRAY_SUBJECT/rpm/rebirthdb/$(./scripts/gen-version.sh)
centos/7/x86_64/
stable/centos/7/x86_64/
on:
branch: next
tags: true
condition: '"$TRAVIS_TAG" =~ ^v[\d]+.[\d]+.[\d]+$'
skip_cleanup: true
- provider: script
script: >-
Expand All @@ -506,7 +514,7 @@ jobs:
--override=true
"/rebirthdb_packages/rebirthdb*.rpm"
$BINTRAY_SUBJECT/rpm/rebirthdb-dev/$(./scripts/gen-version.sh)
centos/7/x86_64/
dev/centos/7/x86_64/
on:
all_branches: true
skip_cleanup: true
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


[![Build Status](https://travis-ci.org/RebirthDB/rebirthdb.svg?branch=next)](https://travis-ci.org/RebirthDB/rebirthdb)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e486b20dee3141c89dcb974fe1ae16de)](https://www.codacy.com/app/RebirthDB/rebirthdb?utm_source=github.com&utm_medium=referral&utm_content=RebirthDB/rebirthdb&utm_campaign=Badge_Grade) [![Coverage Status](https://coveralls.io/repos/github/RebirthDB/rebirthdb/badge.svg?branch=next)](https://coveralls.io/github/RebirthDB/rebirthdb?branch=next)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e486b20dee3141c89dcb974fe1ae16de)](https://www.codacy.com/app/RebirthDB/rebirthdb?utm_source=github.com&utm_medium=referral&utm_content=RebirthDB/rebirthdb&utm_campaign=Badge_Grade)
[![Coverage Status](https://coveralls.io/repos/github/RebirthDB/rebirthdb/badge.svg?branch=next)](https://coveralls.io/github/RebirthDB/rebirthdb?branch=next)

## What is RebirthDB?

Expand Down Expand Up @@ -39,9 +40,9 @@ $ sudo apt-get install rebirthdb

#### **Centos 7**
```bash
sudo wget https://dl.bintray.com/rebirthdb/rpm/centos/7/x86_64/rebirthdb.repo \
sudo wget https://dl.bintray.com/rebirthdb/rpm/stable/centos/7/x86_64/rebirthdb.repo \
-O /etc/yum.repos.d/rebirthdb.repo
sudo yum install rebirthdb
sudo yum install rebirthdb
```

### 2. Start the server
Expand Down

0 comments on commit ae0e4f8

Please sign in to comment.