diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50e1e653..2c4e0835 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: fetch-depth: 0 - name: Get release version from tag run: | - echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" | cut -c2- >> $GITHUB_ENV + echo "RELEASE_VERSION=${GITHUB_REF#refs/*/:1}" >> $GITHUB_ENV - name: Set release version in file run: | echo ${{ env.RELEASE_VERSION }} > version.txt