mirror of
https://github.com/matifali/update-coder-template.git
synced 2025-09-11 00:34:18 +08:00
fix: remove create flag
This commit is contained in:
parent
603ab07856
commit
cf7688dc74
1 changed files with 0 additions and 5 deletions
|
@ -19,11 +19,6 @@ if [ -n "${CODER_TEMPLATE_MESSAGE}" ]; then
|
|||
push_command+=" --message \"${CODER_TEMPLATE_MESSAGE}\""
|
||||
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
|
||||
if [ -n "${CODER_TEMPLATE_VERSION_NAME}" ]; then
|
||||
push_command+=" --name ${CODER_TEMPLATE_VERSION_NAME}"
|
||||
|
|
Loading…
Add table
Reference in a new issue