1.1.0
Changes
- BREAKING : Environment variables got a new option:
skip_if_empty
. If this property is set/enabled and the value of the environment variable is empty, the Environment will not be exported during envman run. This is the same behavior as previous version of envman worked. If this option is not enabled (the new default behaviour) then the empty value will be used as the value, it won't be skipped. Practically this means that if you add two environment variables to envman with the same key and the second one has an empty value : if you enable this option (skip_if_empty) the first value will be used (the second, empty one will be skipped), and if you disable this option (the new default) the empty value will be used, it'll overwrite the first non-empty value. To add env with skip_if_empty, just callenvman add --key KEY --value VALUE --skip-if-empty
.
Install
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/envman/releases/download/1.1.0/envman-$(uname -s)-$(uname -m) > /usr/local/bin/envman
Then:
chmod +x /usr/local/bin/envman
Change history (88d919d - 6c87fb8)
- (6c87fb8) - godeps-update
- (edb2367) - Dockerfile : updated Bitrise CLI version to 1.2.4
- (387cc3d) - Dockerfile: fix Golang version (1.5.2) instead of "1.5 latest"
- (d5b3098) - godeps-update
- (ea54069) - typo
- (34e03b4) - PR fixes
- (e650aed) - changelog fix
- (8589079) - version bump, changelog
- (2ed2734) - flag usage updates
- (a105e06) - create changelog workflow
- (d59437a) - environment skip_if_empty property and handling
- (d96ed92) - godep update
- (33ddda6) - godeps update
- (9b9e8a5) - skip if empty field