From 6aecd83e9fbd885b4dc05b7ca880875c50d3713b Mon Sep 17 00:00:00 2001 From: vitaligi <54726763+vitaligi@users.noreply.github.com> Date: Tue, 5 May 2026 10:45:40 +0300 Subject: [PATCH] ci: correct version reference for prerelease publishing in workflow --- .github/workflows/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 58685fb..1b82b3e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,7 +28,7 @@ jobs: echo "publish triggered on: ${{ github.ref_type }}" if ([[ "${{ github.ref_type }}" == "tag" ]] && [[ "${{ github.event.release.prerelease }}" == "true" ]] && - [[ "${{ github.ref_name }}" == "${{ steps.package-info.outputs.version }}" ]]) || + [[ "${{ github.ref_name }}" == "v${{ steps.package-info.outputs.version }}" ]]) || ([[ "${{ github.ref_type }}" == "branch" ]] && [[ "${{ github.ref_name }}" == "alpha" ]]); then echo "publishing prerelease with alpha tag from ${{ github.ref_type }}"