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
5f0924e61a
commit
1443aa3ef8
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.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
|
||||
increment_version="1"
|
||||
else
|
||||
|
|
@ -196,6 +196,8 @@ jobs:
|
|||
|
||||
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
|
||||
|
||||
echo ${new_tag}
|
||||
|
||||
git pull #Get new model registry md file changes
|
||||
git tag -a ${new_tag} -m "Registering Latest Version to Dev"
|
||||
git push origin ${new_tag}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue