From c74794776700f309d2fa860b54d279f8342bdb5d Mon Sep 17 00:00:00 2001 From: NHLOCAL Date: Sun, 23 Jun 2024 02:46:08 +0300 Subject: [PATCH] Update publish-cli.yml --- .github/workflows/publish-cli.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-cli.yml b/.github/workflows/publish-cli.yml index bcafba9..2ce4c7f 100644 --- a/.github/workflows/publish-cli.yml +++ b/.github/workflows/publish-cli.yml @@ -29,7 +29,10 @@ jobs: - name: Get the version id: get_version shell: bash - run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT + run: | + VERSION=${GITHUB_REF#refs/tags/v} + echo "VERSION=$VERSION" >> $GITHUB_OUTPUT + echo "RELEASE_TITLE=מסדר הסינגלים $VERSION" >> $GITHUB_OUTPUT - name: Rename output file shell: pwsh @@ -43,7 +46,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} - name: Release ${{ github.ref }} + 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