0.4.1
This release version fixes a bug that could occur when running the Install
method of the gobin
task runner in minimal environments like containers.
Bug Fixes
Fix missing environment variables in Install
method of gobin
task — #63 ⇄ #62 (⊶ ff54e91)
↠ Fixed possible errors like
build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined
when running the method in minimal environments like containers by ensuring that the inherited OS environment is prepended before applying custom environment variables.
Before the Install
method of the gobin
task runner has set the environment of the command that gets executed initially to os.Environ()
, but has overwritten it later on with custom variables configured through the WithEnv(map[string]string)
option.
This change also improves the debugging process by including the combined output (stdout
+ stderr
) in the error when the command execution fails.
Tasks
Go module dependency & GitHub action version updates — #60, #61
↠ Bumped outdated Go module dependencies and GitHub actions to their latest versions:
- #60 (⊶ 3fd3f8b)
actions/setup-node
from v2.1.3 to v2.1.4 - #61 (⊶ 6dd713e)
github.com/magefile/mage
from v1.10.0 to v1.11.0 - This release finally introduces a long-time requested feature: Target functions with arguments!
This allows to pass parameters to targets from the CLI to make functions even more dynamic.
The full changelog is available in the repository
Copyright © 2019-present Sven Greb