mirror of
https://github.com/matifali/update-coder-template.git
synced 2024-09-20 06:46:04 +08:00
fix: remove create flag
This commit is contained in:
parent
603ab07856
commit
cf7688dc74
|
@ -19,11 +19,6 @@ if [ -n "${CODER_TEMPLATE_MESSAGE}" ]; then
|
||||||
push_command+=" --message \"${CODER_TEMPLATE_MESSAGE}\""
|
push_command+=" --message \"${CODER_TEMPLATE_MESSAGE}\""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Append --create flag to the push command if CODER_TEMPLATE_CREATE is true
|
|
||||||
if [ "${CODER_TEMPLATE_CREATE}" = "true" ]; then
|
|
||||||
push_command+=" --create"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Add version to the push command if specified
|
# Add version to the push command if specified
|
||||||
if [ -n "${CODER_TEMPLATE_VERSION_NAME}" ]; then
|
if [ -n "${CODER_TEMPLATE_VERSION_NAME}" ]; then
|
||||||
push_command+=" --name ${CODER_TEMPLATE_VERSION_NAME}"
|
push_command+=" --name ${CODER_TEMPLATE_VERSION_NAME}"
|
||||||
|
|
Loading…
Reference in a new issue