mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
add dev version
This commit is contained in:
parent
b7e1cc441b
commit
34ee1f98f8
1 changed files with 4 additions and 3 deletions
7
.github/workflows/MLPipelinePostMerge.yml
vendored
7
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -187,9 +187,10 @@ jobs:
|
|||
git config user.name "Github-Bot"
|
||||
git config user.email "Github-Bot@no-reply.com"
|
||||
|
||||
latest_version=$(gto show ${REGISTER_MODEL_NAME}@latest --ref)
|
||||
latest_dev_verion = $(gto history temp --asc --plain | awk '{print $NF}' | awk '/dev/' | awk 'END{print}' | awk -F"#" '{print $3}')
|
||||
increment_version = ${latest_dev_verion} | awk '{$1++; print}'
|
||||
|
||||
new_tag=${latest_version}#dev
|
||||
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
|
||||
|
||||
git pull #Get new model registry md file changes
|
||||
git tag -a ${new_tag} -m "Registering Latest Version to Dev"
|
||||
|
|
@ -198,7 +199,7 @@ jobs:
|
|||
gto show > MODEL_REGISTRY.md
|
||||
git add .
|
||||
git commit -m "Update Registry"
|
||||
git push
|
||||
git push origin master
|
||||
|
||||
|
||||
Register-Prediction-Image-Dev:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue