mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
reading helm version using template (#474)
Signed-off-by: Sushanta Das <sushanta.das.ju@gmail.com> Signed-off-by: Sushanta Das <sushanta.das.ju@gmail.com>
This commit is contained in:
@@ -90,5 +90,5 @@ func (h Helm) DeleteRelease(namespace string, release string) {
|
||||
}
|
||||
|
||||
func (h Helm) Version() (string, error) {
|
||||
return h.exec.RunProcessAndCaptureStdout("helm", "version", "--short")
|
||||
return h.exec.RunProcessAndCaptureStdout("helm", "version", "--template", "{{ .Version }}")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user