fix release
Some checks failed
Build, Push, Publish / Build & Release (push) Failing after 22s

This commit is contained in:
2025-12-09 15:59:48 -03:00
parent 47f762496a
commit 9e2083acb2

View File

@@ -156,7 +156,9 @@ jobs:
id: version
run: |
BASE_VERSION="${{ steps.pick_base_version.outputs.base_version }}"
IFS='.' read -r MAJOR MINOR PATCH <<< "$BASE_VERSION"
MAJOR=$(echo "$BASE_VERSION" | cut -d. -f1)
MINOR=$(echo "$BASE_VERSION" | cut -d. -f2)
PATCH=$(echo "$BASE_VERSION" | cut -d. -f3)
COUNT="${{ steps.changed_files.outputs.COUNT }}"
if [ "$COUNT" -ge 5 ]; then
MAJOR=$((MAJOR + 1))