Skip to content

Commit 75ca079

Browse files
committed
Add helm repo update command to ciChartExtend.go
1 parent a472326 commit 75ca079

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)