From 126600255f6f8341114ab58c396f9e33ac8252ec Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Sun, 2 Nov 2025 20:10:01 +0100 Subject: [PATCH] Adapts release workflow to accept semantic versions Updates the release workflow to correctly identify semantic versions and removes the assumption of a 'v' prefix on release tags. This change allows the workflow to trigger on any tag that follows the semantic versioning format *.*.*, providing greater flexibility in versioning schemes. --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3251cf4..81b51eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release on: push: tags: - - 'v*.*.*' + - '*.*.*' jobs: create-release: @@ -17,8 +17,8 @@ jobs: - name: Extract version from tag id: version run: | - # Remove 'v' prefix from tag to get version number - VERSION=${GITHUB_REF#refs/tags/v} + # Extract version number from tag (no 'v' prefix) + VERSION=${GITHUB_REF#refs/tags/} echo "version=$VERSION" >> $GITHUB_OUTPUT echo "Version: $VERSION"