diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7640a095..19afe450 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,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: