This repository was archived by the owner on Feb 16, 2023. It is now read-only.
Release v0.36.0#257
Merged
SimonBarendse merged 39 commits intomasterfrom Mar 2, 2020
Merged
Conversation
The old name_template is deprecated in favor of new file_name_template field. See: https://goreleaser.com/deprecations/#nfpms-name-template
Allowed injecting readFile and os.Stat functions into run command. Split up run command into sourceEnvironment and the actual execution of the subcommand.
…ile-reading Refactor run command
so that they return structs to delay fetching of secrets. This way the shadowed secret references will not be evaluated. Also updated templates to allow for checking whether or not they contain secrets. This will be used in the trace command, for example.
It contains the logic of sourcing secrets to the command executed by the run commmand
Fix to develop
This also fixes the order of precedence, which was briefly changed some commits back.
…un-secret-sourcing
…s-name-template Rename deprecated nfpms.name_template field
Mark GitHub release as draft until release has been completely finished
Co-authored-by: Floris van der Grinten <florisvdg@users.noreply.github.com>
…urcing Add `env read` and `env ls` commands
florisvdg
approved these changes
Mar 2, 2020
Member
florisvdg
left a comment
There was a problem hiding this comment.
Did a little edit on the release notes.
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
env lsandenv readsubcommands to work with secret environment variables in the same way that theruncommand does.The commands are hidden because they are still in beta. Future versions may break.