Skip to content

0.4.1

Compare
Choose a tag to compare
@svengreb svengreb released this 04 Jan 12:53
· 36 commits to main since this release
v0.4.1

Release Date: 2021-01-04 Project Board Milestone

Show all commits

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:

The full changelog is available in the repository


Copyright © 2019-present Sven Greb