Releases: hews/gosubst
Releases · hews/gosubst
Release list
gosubst v0.4.0
gosubst does it again!
Updates for v0.4.0 include:
- (BREAKING CHANGE for all 0 people who is using this tool) the removal of
.Envfrom the context; realized that Sprig'senv()did the job cleaner and better; - adds the functions
requiredEnvs,requiredValsandrequiredFilesto templates: seems useful after debugging missing env vars, bad expansion, or attempts to{{ sh "cat nofile" }}for missing files; - better tests.
gosubst v0.3.0
Another banger from the good people at gosubst.
Updates for v0.3.0 include:
- the addition of a
--debugcommand line option that just sets a flag in the template context; - corrections to the help text.
gosubst v0.2.1
A solid entry in the gosubst canon!
Updates for v0.2.1 include:
- changes to env var expansion such that
${ENV_VAR}is expanded, but$ENV_VARis not – this allows us to use Go template variables; - CLI options for only running env var expansion or only running templating, largely for debugging template development;
- the
sh()template function now runsshinstead of/bin/sh; - various fixes and cleaner errors, as well as updated documentation.
gosubst v0.1.0
The original, one-and-only OG, release of gosubst.