mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
create new branch prior to creating a chart (#520)
This commit is contained in:
parent
acfb645810
commit
a6044906b8
@ -6,6 +6,7 @@ tasks:
|
|||||||
create:
|
create:
|
||||||
desc: create new chart
|
desc: create new chart
|
||||||
cmds:
|
cmds:
|
||||||
|
- git checkout -b add-chart-{{.CHART}}
|
||||||
- cp -r {{.GIT_ROOT}}/templates/chart {{.GIT_ROOT}}/charts/{{.CHART}}
|
- cp -r {{.GIT_ROOT}}/templates/chart {{.GIT_ROOT}}/charts/{{.CHART}}
|
||||||
- ./.bin/go-replace -s '${CHARTNAME}' -r "{{.CHART}}" --path={{.GIT_ROOT}}/charts/{{.CHART}} --path-pattern='*.*'
|
- ./.bin/go-replace -s '${CHARTNAME}' -r "{{.CHART}}" --path={{.GIT_ROOT}}/charts/{{.CHART}} --path-pattern='*.*'
|
||||||
- task: dependency
|
- task: dependency
|
||||||
|
Loading…
Reference in New Issue
Block a user