From d8c38ee21a2cc663e11c4e586be257bd51535adc Mon Sep 17 00:00:00 2001 From: Wim Looman Date: Mon, 29 Dec 2014 12:48:27 +1300 Subject: [PATCH] Add publishing to crates.io as part of deploy --- .travis.yml | 2 ++ Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 42146465..9a62b3e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ sudo: false env: global: - secure: aOiqRRhbGw+r7P1PleSNKk5JTkItW/tQBYBhxGdJ7gN9KvlBHEmBHNd5Yl8AuE5R9W27Eo/BgtXIu09EMuND8cLr92b1P1ru1ebQMM+2FburF1y4psZakecSWAMDlF+km/cdES/AzIJ7dI1Fc4dGE/zNMuLLYEKmSDtVMHXucaI= + - secure: QRaXkP2OkP9KIwN/ifxclkKUhifeu2pGE6jEkNr/8kluxPDPplX3QtR/qwYzt6v24QsAW+rGvA0atB3yIiiWRrxxq3DcrV5v4xpc6ZoqFJYxVfnPqMGqDkh0pV1+6Z9RP9upP1ol3eOWnHPK0EHSH8sBAWENxE9k0WcilgjHxeo= script: - cargo build --release --verbose @@ -24,6 +25,7 @@ deploy: all_branches: true after_deploy: + - cargo publish --token $CRATES_IO_TOKEN - echo "machine github.com login $GITHUB_TOKEN password x-oauth-basic" >> ~/.netrc - chmod 0600 ~/.netrc - git remote add github https://github.com/$TRAVIS_REPO_SLUG.git diff --git a/Cargo.toml b/Cargo.toml index 845b404c..117a5b16 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "roaring" -version = "0.0.7" +version = "0.0.8" authors = ["Wim Looman "] description = "http://roaringbitmap.org for http://www.rust-lang.org"