Skip to content

Commit

Permalink
Merge pull request microsoft#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 committed Jan 12, 2022
2 parents ca81b94 + d8703ba commit b93f167
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 b93f167

Please sign in to comment.