mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
ci: verison升级时小版本号归0
This commit is contained in:
parent
90ac347ff2
commit
01562b6ee0
@ -15,9 +15,12 @@ patch=${OLD_VERSION_ARRAY[2]}
|
||||
case "${level}" in
|
||||
"major")
|
||||
((major += 1))
|
||||
minor=0
|
||||
patch=0
|
||||
;;
|
||||
"minor")
|
||||
((minor += 1))
|
||||
patch=0
|
||||
;;
|
||||
*)
|
||||
((patch += 1))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user