Add a chart directory
This commit is contained in:
parent
6e08510b3d
commit
5b6a503fd1
@ -35,6 +35,9 @@ func (g *Git) CloneRepo(workdir, gitURL string, dry bool) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := os.Mkdir(workdir+"/charts", os.ModePerm); err != nil {
|
||||
return err
|
||||
}
|
||||
r, err := git.PlainInit(workdir, false)
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -27,7 +27,10 @@ func CreateWorkdir(ctx context.Context, path string) (workdir string, err error)
|
||||
if err != nil {
|
||||
return workdir, err
|
||||
}
|
||||
}
|
||||
|
||||
if err := os.Mkdir(workdir+"/.charts", os.ModePerm); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return workdir, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user