From 2c5d40aa9667aed9e24beb9732b2820e87ee746d Mon Sep 17 00:00:00 2001 From: enesgules Date: Mon, 30 Jun 2025 11:16:25 +0300 Subject: [PATCH] fix: Update release workflow to remove 'v' prefix from version variable --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9c346c..b62f649 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,11 @@ jobs: uses: actions/checkout@v3 - name: Set env - run: echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + run: | + VERSION="${GITHUB_REF##refs/*/}" + # Remove 'v' prefix if it exists + VERSION="${VERSION#v}" + echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Setup Node uses: actions/setup-node@v3