fixed bug

This commit is contained in:
Michael Duong 2023-09-17 14:48:29 +00:00
parent 0e3efe5543
commit 561e9da380

View file

@ -191,7 +191,7 @@ jobs:
if [ -z "${latest_dev_version}" ]; then
increment_version="1"
else
increment_version=$(echo ${latest_dev_version} | awk 'END{print}' | awk -F"#" '{print $3}' | awk '{$1++; print}')
increment_version=$(echo ${latest_dev_version} | awk '{print $NF}' | awk -F"#" '{print $3}' | awk '{$1++; print}')
fi
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}