From a6044906b8604c34d52ef0d325be9ca6add538c6 Mon Sep 17 00:00:00 2001 From: Ryan Holt Date: Wed, 27 Jan 2021 09:02:10 -0500 Subject: [PATCH] create new branch prior to creating a chart (#520) --- .taskfiles/Taskfile_chart.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.taskfiles/Taskfile_chart.yml b/.taskfiles/Taskfile_chart.yml index f2eab013..80dd632f 100644 --- a/.taskfiles/Taskfile_chart.yml +++ b/.taskfiles/Taskfile_chart.yml @@ -6,6 +6,7 @@ tasks: create: desc: create new chart cmds: + - git checkout -b add-chart-{{.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='*.*' - task: dependency