Skip to content

Commit

Permalink
release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Jan 8, 2017
1 parent ac4bc1b commit 4b629c9
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Jorge Aparicio <[email protected]>"]
build = "build.rs"
name = "trust"
version = "0.1.0"
version = "0.1.1"

[build-dependencies]
gcc = { git = "https://github.com/alexcrichton/gcc-rs" }
Expand Down
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4b629c9

Please sign in to comment.