sort out gto show

This commit is contained in:
Michael Duong 2023-09-17 13:09:34 +00:00
parent 1443aa3ef8
commit 6eff6e4371

View file

@ -195,11 +195,12 @@ jobs:
fi
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
latest_version=$(gto show model@latest --ref | awk -F"@" '{print $2}')
echo ${new_tag}
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 "Assigning stage dev to artifact temp version ${latest_version}"
git push origin ${new_tag}
gto show > MODEL_REGISTRY.md