aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-19 20:03:43 +0200
committerTill Hoeppner2015-04-19 20:03:43 +0200
commit11969d703e1f2653ac965adbb2cf00b67ff00c5a (patch)
tree7886907a14a808dd834a287425ccd5230ae4134e
parent7ebe0df7282fd9850e9232dc233ce27623844778 (diff)
downloadirsc-11969d703e1f2653ac965adbb2cf00b67ff00c5a.tar.gz
irsc-11969d703e1f2653ac965adbb2cf00b67ff00c5a.tar.xz
irsc-11969d703e1f2653ac965adbb2cf00b67ff00c5a.zip
Add auto-publishing by Travis
-rw-r--r--.travis.yml7
-rw-r--r--Cargo.toml2
2 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 95fadca..8cac6f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,10 @@ after_success: |
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
- git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
+ git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages &&
+ cargo login &&
+ cargo publish
env:
global:
- secure: QesmFK+1DtDlYx8bnAC7nKKo/OeZziH+XTDjJFwPiKu7+fHk7bbO7pkd7jPLQTMR037nmvyIr0OwXlZQqA6pE6OyLd/4gUHzUfRP2NNCWIJIh1gqpOZDu29qW79RjKFHdEzuJLsKppJ8cnMlN2P9h/JpZuQBZZoRtFNFmi2OvNE=
+ - secure: QesmFK+1DtDlYx8bnAC7nKKo/OeZziH+XTDjJFwPiKu7+fHk7bbO7pkd7jPLQTMR037nmvyIr0OwXlZQqA6pE6OyLd/4gUHzUfRP2NNCWIJIh1gqpOZDu29qW79RjKFHdEzuJLsKppJ8cnMlN2P9h/JpZuQBZZoRtFNFmi2OvNE=
+ - secure: SWDhZyNJBApqivpcqHVihIY10D5ODEJ1h8N0uQN6D1iUAvLSehEN/mTLIx/r7BFWY/23tKMpK0eimWFtD9cy6i0Eg3BICVv4e6EVob3dtLz7aj1CsANZnN9pCFKzDcEdpSBh5Wa1E1vE4QPpQF2m5WLHBw59C+jt6bFxJrtc5Pw=
diff --git a/Cargo.toml b/Cargo.toml
index 23c7f2a..661c8a5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "irsc"
-version = "0.1.0"
+version = "0.0.3"
authors = ["Till Hoeppner <till@hoeppner.ws>"]
description = "A lightweight library for building IRC bots."
repository = "https://github.com/tilpner/irsc"