From 4b629c91c81dce6515233561d35ef4ef9d08e763 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 8 Jan 2017 14:58:06 -0500 Subject: [PATCH] release v0.1.1 --- .travis.yml | 3 +++ CHANGELOG.md | 19 +++++++++++++++++++ Cargo.toml | 2 +- README.md | 35 +++++++++++++++++++++++++++++++++++ appveyor.yml | 3 +++ 5 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/.travis.yml b/.travis.yml index 6e47cb7..cf1fa42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +# Based on the "trust" template v0.1.1 +# https://github.com/japaric/trust/tree/v0.1.1 + dist: trusty language: rust services: docker diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f88e41f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,19 @@ +# Change Log + +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](http://semver.org/). + +## [Unreleased] + +## [v0.1.1] - 2017-01-08 + +### Added + +- Cross compilation / deploy support for FreeBSD and NetBSD. + +## v0.1.0 - 2017-01-01 + +- Initial release + +[Unreleased]: https://github.com/japaric/trust/compare/v0.1.1...HEAD +[v0.1.1]: https://github.com/japaric/trust/compare/v0.1.0...v0.1.1 diff --git a/Cargo.toml b/Cargo.toml index daf4e45..ac74945 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Jorge Aparicio "] build = "build.rs" name = "trust" -version = "0.1.0" +version = "0.1.1" [build-dependencies] gcc = { git = "https://github.com/alexcrichton/gcc-rs" } diff --git a/README.md b/README.md index 0cf7ebd..aa1bd68 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,41 @@ $ curl -LSfs https://japaric.github.io/trust/install.sh | \ For more details about this installation script see `install.sh -h` +### How to disable deploys? + +If you don't want to generate binary releases at all, perhaps because your Cargo +project is a library or you only want to test your project, then you can simply +change `deploy.on.condition`, in `.travis.yml`, and `deploy.on`, in +`appveyor.yml`, to always be false. For example: + +``` yml +# .travis.yml +deploy: + on: + condition: $DEPLOY = never +``` + +### How to upgrade your CI configuration? + +First, figure out which version of the trust template you are using. The version +is written in the header of the `.travis.yml` and `appveyor.yml` files. If +there's no header, that means you are using version `v0.1.0`. + +Next, look at the [change log](CHANGELOG.md) to check if there's a new release +and to learn, at a high level, how the template has changed: what has been +fixed, what has been added, etc. + +If it makes sense for you to upgrade, you can see the required "code" changes by +looking at the "diff" between the version you are using and the version you are +going to upgrade to. For example: + +https://github.com/japaric/trust/compare/v0.1.0...v0.1.1 + +As for the upgrade itself, GitHub can generate a patch from the above diff that +then you can apply to your repository with `git am` or similar: + +https://github.com/japaric/trust/compare/v0.1.0...v0.1.1.patch + ## Supported targets ### Linux diff --git a/appveyor.yml b/appveyor.yml index cb701ca..ca13308 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,6 @@ +# Based on the "trust" template v0.1.1 +# https://github.com/japaric/trust/tree/v0.1.1 + environment: global: # TODO This is the Rust channel that build jobs will use by default but can be