From d78b8dcfc0e5acfec9fd5f18dbe5c46fffd85642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Dr=C3=A4ger?= Date: Sun, 22 Dec 2024 00:09:57 +0100 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index e22cb9c..c674cb6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -48,12 +48,8 @@ main() { ((++patch)); pre="";; "alpha"|"beta"|"pre"|"rc") if [[ -z "$pre" ]]; then - # Increment patch or minor if transitioning from stable to pre-release - if [[ "$release_type" == "rc" ]]; then - ((++minor)); patch=0 - else - ((++patch)) - fi + # Increment patch if transitioning from stable to pre-release + ((++patch)) preversion=0 elif [[ "$pre" != "$release_type" ]]; then preversion=1