Skip to content

Commit

Permalink
Update publish-cli.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NHLOCAL committed Jun 22, 2024
1 parent e87f73d commit c747947
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit c747947

Please sign in to comment.