diff --git a/.github/workflows/publish-cli.yml b/.github/workflows/publish-cli.yml index 39cc90b..dc35787 100644 --- a/.github/workflows/publish-cli.yml +++ b/.github/workflows/publish-cli.yml @@ -30,7 +30,7 @@ jobs: id: get_version shell: bash run: | - VERSION=${GITHUB_REF#refs/tags/v} + VERSION=${GITHUB_REF#refs/tags/} echo "VERSION=$VERSION" >> $GITHUB_OUTPUT echo "RELEASE_TITLE=מסדר הסינגלים $VERSION" >> $GITHUB_OUTPUT @@ -45,8 +45,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} + tag_name: ${{ steps.get_version.outputs.VERSION }} name: ${{ steps.get_version.outputs.RELEASE_TITLE }} draft: true prerelease: true - files: ./dist/singles-sorter-cli-${{ steps.get_version.outputs.VERSION }}.exe \ No newline at end of file + files: ./dist/singles-sorter-cli-${{ steps.get_version.outputs.VERSION }}.exe