WIP: Trying to diff

This commit is contained in:
Nikolai Rodionov
2023-10-13 18:02:11 +02:00
parent eb7abefc89
commit 93ad3389b2
7 changed files with 109 additions and 20 deletions

View File

@ -73,6 +73,9 @@ const (
// Replace the version placeholder with the fixed version
func (r *Release) VersionHandler(dir string, hh helmhelper.Helmhelper) error {
if len(r.Version) == 0 {
r.Version = VERSION_LATEST
}
switch r.Version {
case VERSION_LATEST:
version, err := hh.FindLatestVersion(dir, r.Chart, *r.RepositoryObj)