Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Brad Rydzewski 2015-11-16 16:00:37 -08:00
commit 5294e277d1
2 changed files with 3 additions and 3 deletions

View file

@ -31,8 +31,8 @@ Please see our [installation guide](http://readme.drone.io/setup/) to install th
Install build dependencies:
* go 1.5+ ([install guide](http://golang.org/doc/install))
* libsqlite3 ([install script](https://github.com/drone/drone/blob/master/contrib/setup-sassc.sh))
* sassc ([install script](https://github.com/drone/drone/blob/master/contrib/setup-sqlite.sh))
* libsqlite3 ([install script](https://github.com/drone/drone/blob/master/contrib/setup-sqlite.sh))
* sassc ([install script](https://github.com/drone/drone/blob/master/contrib/setup-sassc.sh))
Clone the repository to your Go workspace:

2
docs/build/env.md vendored
View file

@ -34,7 +34,7 @@ A subset of variables may be substituted directly into the Yaml at runtime using
* `$$BUILD_NUMBER` build number for the current build
* `$$COMMIT` git sha for the current build, long format
* `$$BRANCH` git branch for the current build
* `$$REPO` repository full name (in `owner/name` format)
* `$$BUILD_NUMBER` build number for the current build
* `$$TAG` tag name
This is useful when you need to dynamically configure your plugin based on the current build. For example, we can alter an artifact name to include the branch: