@eht16 commented on this pull request.


> -             if [ -z "${PATCH}" ] || [ "${PATCH}" = "0" ]; then
-                       MINOR="$((MINOR-1))"
-                       PATCH="90"
+               if [[ "${MINOR}" = "0" && (-z "${PATCH}" || "${PATCH}" = "0") 
]]; then
+                       MAJOR="$((MAJOR-1))"
+                       MINOR="99"
+                       PATCH="99"
                else
-                       PATCH="$((PATCH-1))"
+                       if [[ -z "${PATCH}" || "${PATCH}" = "0" ]]; then
+                               MINOR="$((MINOR-1))"
+                               PATCH="99"
+                       else
+                               PATCH="$((PATCH-1))"
+                       fi
                fi

Sweet, thank you.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3594#discussion_r1355786397
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3594/review/[email protected]>

Reply via email to