From 11969d703e1f2653ac965adbb2cf00b67ff00c5a Mon Sep 17 00:00:00 2001
From: Till Hoeppner
Date: Sun, 19 Apr 2015 20:03:43 +0200
Subject: Add auto-publishing by Travis
---
.travis.yml | 7 +++++--
Cargo.toml | 2 +-
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 "" > 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 "]
description = "A lightweight library for building IRC bots."
repository = "https://github.com/tilpner/irsc"
--
cgit v1.2.3