From 5769dd6622aef93827d19c01f35f7aa666b1c0cf Mon Sep 17 00:00:00 2001 From: Guillermo Orellana Date: Mon, 12 Feb 2024 18:54:01 +0100 Subject: [PATCH] make auto be default --- .github/scripts/version-bump.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/version-bump.sh b/.github/scripts/version-bump.sh index 475b3ad..168493e 100755 --- a/.github/scripts/version-bump.sh +++ b/.github/scripts/version-bump.sh @@ -51,8 +51,8 @@ elif git log -1 | grep -q "#minor"; then BUMP_MODE="minor" elif git log -1 | grep -q "#patch"; then BUMP_MODE="patch" -elif [[ "${AUTO}" == "true" ]]; then - BUMP_MODE="${AUTO_MODE}" +else + BUMP_MODE="auto" fi if [ -f gradle.properties ] && grep -E -q "version=${CURRENT_VERSION}" gradle.properties; then