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
34ee1f98f8
commit
427744afcb
1 changed files with 6 additions and 2 deletions
8
.github/workflows/MLPipelinePostMerge.yml
vendored
8
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -187,8 +187,12 @@ jobs:
|
|||
git config user.name "Github-Bot"
|
||||
git config user.email "Github-Bot@no-reply.com"
|
||||
|
||||
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}'
|
||||
latest_dev_version = $(gto history temp --asc --plain | awk '{print $NF}' | awk '/dev/' | awk 'END{print}' | awk -F"#" '{print $3}')
|
||||
if [ -z "${latest_dev_version}" ]; then
|
||||
increment_version="1"
|
||||
else
|
||||
increment_version = ${latest_dev_version} | awk '{$1++; print}'
|
||||
fi
|
||||
|
||||
new_tag=${REGISTER_MODEL_NAME}#dev#${increment_version}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue