add dev version

This commit is contained in:
Michael Duong 2023-09-17 12:36:19 +00:00
parent b31e53f0b6
commit 1024acc32d

View file

@ -189,7 +189,7 @@ jobs:
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"
increment_version=1
else
increment_version=${latest_dev_version} | awk '{$1++; print}'
fi