diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e4ac7213..3be37fb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - name: Get Release version shell: bash run: | - RELEASE_VERSION=$(echo $GITHUB_REF | egrep -o "[0-9]\.[0-9]\.[0-9]{1,2}") + RELEASE_VERSION=$(echo $GITHUB_REF | egrep -o "[0-9]\.[0-9]\.[0-9]{1,2}(-.*)") echo "RELEASE_VERSION=$RELEASE_VERSION" >> "$GITHUB_ENV" - uses: actions/setup-go@v5 with: