-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from viktorbenei/master
v0.9.10 version & changelog
- Loading branch information
Showing
5 changed files
with
31 additions
and
51 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 3 additions & 17 deletions
20
Godeps/_workspace/src/github.com/stretchr/testify/assert/assertions.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Changes | ||
|
||
* Environments got a new field: `IsTemplate` / `is_template`. This field indicates whether the value contains template expressions which should be evaluated before using the value, just like in case of `is_expand`. *This property is not used directly in `envman`, although this might change in the future.* | ||
* Improved environment value and options cast: | ||
* Now you can use `"NO"`, `"No"`, `"YES"`, `"Yes"`, `true`, `false`, `"true"`, `"false"` in every place `envman` expects a bool value (ex: `is_expand`). | ||
* Every field where `envman` expects a string in now casted into a string. This means that you can now use `true` and `false` instead of `"true"` and `"false"` in `value_options`. Same is true for the value itself, so you can now write `true` instead of `"true"` and it'll still be casted to string. | ||
|
||
|
||
## Install | ||
|
||
To install this version, run the following commands (in a bash shell): | ||
|
||
``` | ||
curl -fL https://github.com/bitrise-io/envman/releases/download/0.9.10/envman-$(uname -s)-$(uname -m) > /usr/local/bin/envman | ||
``` | ||
|
||
Then: | ||
|
||
``` | ||
chmod +x /usr/local/bin/envman | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,4 @@ | ||
## Changes | ||
|
||
* Environments got new field: IsTemplate. If IsTemplate is true, environment value, will handled with built in go template solutions. | ||
Exmaple: | ||
``` | ||
- script: | ||
title: Template example | ||
inputs: | ||
- content: |- | ||
{{if .IsCI}} | ||
echo "CI mode" | ||
{{else}} | ||
echo "not CI mode" | ||
{{end}} | ||
``` | ||
* Improved environment value and options cast. Now you can use "NO", "Yes", true, false as bool too. | ||
|
||
|
||
## Install | ||
|
||
To install this version, run the following commands (in a bash shell): | ||
|
||
``` | ||
curl -fL https://github.com/bitrise-io/envman/releases/download/1.0.0/envman-$(uname -s)-$(uname -m) > /usr/local/bin/envman | ||
``` | ||
|
||
Then: | ||
|
||
``` | ||
chmod +x /usr/local/bin/envman | ||
``` | ||
* change 1 | ||
* change 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters