Skip to content

Commit

Permalink
chore: fix versioning in winget publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm committed Dec 18, 2024
1 parent ad73950 commit 3be56d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/winget-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- name: Extract short version
id: extract_version
run: echo "SHORT_VERSION=${{ $VERSION#*-v}}" >> $GITHUB_ENV
run: echo "SHORT_VERSION=${{ VERSION#*-v}}" >> $GITHUB_OUTPUT

- name: Update Packages
uses: michidk/winget-updater@latest
Expand All @@ -25,7 +25,7 @@ jobs:
komac-token: ${{ secrets.WINGET_TOKEN }}
identifier: ${{ matrix.id }}
repo: ${{ matrix.repo }}
url: https://github.com/${{ matrix.repo }}/releases/download/{VERSION}/mdns-browser_${{ env.SHORT_VERSION }}_x64-setup.exe
url: https://github.com/${{ matrix.repo }}/releases/download/{VERSION}/mdns-browser_${{ steps.extract_version.outputs.SHORT_VERSION }}_x64-setup.exe

cleanup:
name: Cleanup branches
Expand Down

0 comments on commit 3be56d0

Please sign in to comment.