diff --git a/.github/workflows/CI_flatpak.yml b/.github/workflows/CI_flatpak.yml index 503f8b98633..39a4a91901d 100644 --- a/.github/workflows/CI_flatpak.yml +++ b/.github/workflows/CI_flatpak.yml @@ -125,6 +125,7 @@ jobs: WZ_FLATPAK_BRANCH="${WZ_BUILD_DESC_PREFIX}" if [ "$WZ_BUILD_DESC_IS_TAG" == "true" ]; then + SOURCE_TAG="${WZ_GITHUB_REF#refs/tags/}" # Verify tag format (three-component version + optional trailing qualifier like "-beta1" or "-rc1") if on a tag regex="^([0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]*)([\-][A-Za-z0-9]+)?$"; if [[ ! "${SOURCE_TAG}" =~ $regex ]]; then