From 6eb45fc3cc229208fa31ff8df227c62fa626b206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 6 Jul 2024 22:00:58 +0200 Subject: [PATCH] back like it was before --- .github/workflows/post-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 94fecdd48a768..4155b253e397c 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -31,7 +31,7 @@ jobs: echo "Invalid version (not in 0.X.Y-dev format): ${current_version}" exit 1 fi - minor_version=$(sed 's/^0\.\([0-9]*\)\..*/\1/' <<< "${current_version}") + minor_version=$(sed 's/^0\.\([0-9]\+\).*/\1/' <<< "${current_version}") next_version=0.$((minor_version + 1)).0-dev echo "Bumping version to ${next_version}" # See release.yml for meaning of these arguments