Skip to content

Commit

Permalink
Merge pull request #91 from viktorbenei/master
Browse files Browse the repository at this point in the history
v0.9.10 version & changelog
  • Loading branch information
viktorbenei committed Oct 2, 2015
2 parents 263f8d3 + 07e36ba commit 22b6ba3
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 51 deletions.
8 changes: 4 additions & 4 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions _changelogs/0.9.10.md
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
```
31 changes: 2 additions & 29 deletions _changelogs/upcoming.md
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
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func Run() {
app := cli.NewApp()
app.Name = path.Base(os.Args[0])
app.Usage = "Environment variable manager"
app.Version = "0.9.9"
app.Version = "0.9.10"

app.Author = ""
app.Email = ""
Expand Down

0 comments on commit 22b6ba3

Please sign in to comment.