Skip to content

Commit 3ac15a5

Browse files
authored
Merge pull request #84 from wunderio/feature/chart-extend-update
Helm repo update in Chart Extend
2 parents a472326 + 28a1165 commit 3ac15a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/ciChartExtend.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ var editChartCmd = &cobra.Command{
6262
os.Mkdir(common.ExtendedFolder, 0744)
6363
}
6464

65+
// Make sure repositories are up to date
66+
command := "helm repo update"
67+
exec.Command("bash", "-c", command).Run()
68+
6569
if len(p) == 2 && chartExistsLocally == false && p[0] != "." {
6670
//p[0] - name of the repo
6771
//p[1] - name of the chart itself

0 commit comments

Comments
 (0)