mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-07-22 21:13:47 +08:00
ci: verison升级时小版本号归0
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user