Skip to content

Commit

Permalink
fix release by using double quotes where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
smorks committed Mar 14, 2023
1 parent 4d416fe commit 6ad9869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
mv build\Release build\KeePassNatMsg
$zip = 'KeePassNatMsg-${{ steps.tag.outputs.tag }}-binaries.zip'
7z a $zip .\build\KeePassNatMsg\ "-xr!*.pdb"
$hash = (Get-FileHash '$zip' sha256).Hash.ToLower()
$hash = (Get-FileHash "$zip" sha256).Hash.ToLower()
Set-Content -Path 'release.txt' -Value ('### SHA256 Hash',('* '+$zip),(' * '+$hash))
git clean -fx KeePassNatMsg
$p = Start-Process -FilePath ".\build\KeePass.exe" -ArgumentList "--plgx-create","$pwd\KeePassNatMsg" -PassThru
$p.WaitForExit()
$plgx = 'KeePassNatMsg.plgx'
$hash = (Get-FileHash '$plgx' sha256).Hash.ToLower()
$hash = (Get-FileHash "$plgx" sha256).Hash.ToLower()
Add-Content -Path 'release.txt' -Value ('* '+$plgx,(' * '+$hash))
- name: Publish Release
uses: softprops/action-gh-release@v0.1.12
Expand Down

0 comments on commit 6ad9869

Please sign in to comment.