Skip to content

Commit

Permalink
Fix winget build
Browse files Browse the repository at this point in the history
  • Loading branch information
sachabruttin committed Jun 28, 2022
1 parent 601e439 commit 698533a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
- name: Push Chocolatey
uses: crazy-max/ghaction-chocolatey@v1
with:
args: push ./src/Chocolatey-Packages/cosmosdbexplorer/cosmosdbexplorer.${{ steps.tag.outputs.version }}.nupkg --source https://chocolatey.org/ --api-key=$CHOCOLATEY_API_KEY
args: push ./src/Chocolatey-Packages/cosmosdbexplorer/cosmosdbexplorer.${{ steps.tag.outputs.version }}.0.nupkg --source https://chocolatey.org/ --api-key=$CHOCOLATEY_API_KEY

- name: Upload chocolatey artifacts
uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion setup/winget/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Write-MetaData {
)
$content = Get-Content $FileName -Raw
$content = $content.Replace('<VERSION>', $Version)
$content = $content.Replace('<HASH', $HashAmd64)
$content = $content.Replace('<HASH>', $Hash)
$date = Get-Date -Format "yyyy-MM-dd"
$content = $content.Replace('<DATE>', $date)
$content | Out-File -Encoding 'UTF8' "./$Version/$FileName"
Expand Down

0 comments on commit 698533a

Please sign in to comment.