From 915fecece55e08b5eb98d837b0eca86476b8aec6 Mon Sep 17 00:00:00 2001 From: Gambit Date: Wed, 24 Jul 2024 21:37:42 -0400 Subject: [PATCH] 0.5.11 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9eedd8f9..d588a429 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ jobs: - name: Get Version from Commit Message id: get-version run: | - version=$(git log -1 --pretty=%B | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+') + version=$(git log -1 --pretty=%B | grep -o -E '[v]?[0-9]+\.[0-9]+\.[0-9]+' | sed 's/^v//') echo "version=$version" >> $GITHUB_OUTPUT echo "Extracted version: $version"