mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-30 13:10:43 +00:00
try update
This commit is contained in:
parent
424c5463f2
commit
49194ac6fa
1 changed files with 10 additions and 1 deletions
11
.github/workflows/MLPipelinePostMerge.yml
vendored
11
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -36,7 +36,16 @@ jobs:
|
|||
git config user.name "Github-Bot"
|
||||
git config user.email "Github-Bot@no-reply.com"
|
||||
|
||||
gto show ${REGISTER_MODEL_NAME}@latest --ref
|
||||
latest_version=$(gto show ${REGISTER_MODEL_NAME}@latest --ref | awk -F"@v" '{print $2}')
|
||||
increment_version=$(echo ${latest_version} | awk -F'.' '{OFS="."; $1+=1; print}')
|
||||
|
||||
new_tag=${REGISTER_MODEL_NAME}@v${increment_version}
|
||||
|
||||
git tag -a new_tag -m "Registering new Major Version"
|
||||
git push origin new_tag
|
||||
|
||||
gto show >> MODEL_REGISTRY.md
|
||||
|
||||
|
||||
# git tag -a ${REGISTER_MODEL_NAME} -m "Registering new Major Version"
|
||||
# git push origin ${REGISTER_MODEL_NAME}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue