Skip to content

Commit 52b4563

Browse files
authored
fix(scripts/develop.sh): use correct variables-file arg for template create (coder#8520)
1 parent 4c4d966 commit 52b4563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/develop.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ fatal() {
172172
DOCKER_HOST="$(docker context inspect --format '{{ .Endpoints.docker.Host }}')"
173173
printf 'docker_arch: "%s"\ndocker_host: "%s"\n' "${GOARCH}" "${DOCKER_HOST}" >"${temp_template_dir}/params.yaml"
174174
(
175-
"${CODER_DEV_SHIM}" templates create "${template_name}" --directory "${temp_template_dir}" --parameter-file "${temp_template_dir}/params.yaml" --yes
175+
"${CODER_DEV_SHIM}" templates create "${template_name}" --directory "${temp_template_dir}" --variables-file "${temp_template_dir}/params.yaml" --yes
176176
rm -rfv "${temp_template_dir}" # Only delete template dir if template creation succeeds
177177
) || echo "Failed to create a template. The template files are in ${temp_template_dir}"
178178
fi

0 commit comments

Comments
 (0)