Skip to content

Commit

Permalink
Merge pull request #475 from ldennington/winget-fixup
Browse files Browse the repository at this point in the history
winget: fix asset/release regexes to match correctly
  • Loading branch information
ldennington authored Dec 14, 2021
2 parents f8f08d5 + 6a7051e commit 7a514b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-winget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
run: |
# Get correct release asset
$github = Get-Content '${{ github.event_path }}' | ConvertFrom-Json
$asset = $github.release.assets | Where-Object -Property name -match '.exe$'
$asset = $github.release.assets | Where-Object -Property name -match '64-bit.exe$'
# Remove 'v' and 'vfs' from the version
$assets.tag_name -match '\d.*'
$github.release.tag_name -match '\d.*'
$version = $Matches[0] -replace ".vfs",""
# Download and run wingetcreate
Expand Down

0 comments on commit 7a514b4

Please sign in to comment.