mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-30 13:10:43 +00:00
commit
3bf4876192
1 changed files with 2 additions and 2 deletions
4
.github/workflows/MLPipelinePostMerge.yml
vendored
4
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -187,11 +187,11 @@ jobs:
|
||||||
git config user.name "Github-Bot"
|
git config user.name "Github-Bot"
|
||||||
git config user.email "Github-Bot@no-reply.com"
|
git config user.email "Github-Bot@no-reply.com"
|
||||||
|
|
||||||
latest_dev_version = $(gto history temp --asc --plain | awk '{print $NF}' | awk '/dev/' | awk 'END{print}' | awk -F"#" '{print $3}')
|
latest_dev_version=$(gto history temp --asc --plain | awk '{print $NF}' | awk '/dev/' | awk 'END{print}' | awk -F"#" '{print $3}')
|
||||||
if [ -z "${latest_dev_version}" ]; then
|
if [ -z "${latest_dev_version}" ]; then
|
||||||
increment_version="1"
|
increment_version="1"
|
||||||
else
|
else
|
||||||
increment_version = ${latest_dev_version} | awk '{$1++; print}'
|
increment_version=${latest_dev_version} | awk '{$1++; print}'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
|
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue