mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-07-12 13:28:58 +00:00
commit
76f2b71130
1 changed files with 3 additions and 1 deletions
4
.github/workflows/MLPipelinePostMerge.yml
vendored
4
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -187,7 +187,7 @@ 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/')
|
latest_dev_version=$(gto history ${REGISTER_MODEL_NAME} --asc --plain | awk '{print $NF}' | awk '/dev/')
|
||||||
if [ -z "${latest_dev_version}" ]; then
|
if [ -z "${latest_dev_version}" ]; then
|
||||||
increment_version="1"
|
increment_version="1"
|
||||||
else
|
else
|
||||||
|
|
@ -196,6 +196,8 @@ jobs:
|
||||||
|
|
||||||
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
|
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
|
||||||
|
|
||||||
|
echo ${new_tag}
|
||||||
|
|
||||||
git pull #Get new model registry md file changes
|
git pull #Get new model registry md file changes
|
||||||
git tag -a ${new_tag} -m "Registering Latest Version to Dev"
|
git tag -a ${new_tag} -m "Registering Latest Version to Dev"
|
||||||
git push origin ${new_tag}
|
git push origin ${new_tag}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue