mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
[CD] fixed get hash error
This commit is contained in:
parent
cac5e74614
commit
71e6b1a859
4
.github/workflows/release-build.yml
vendored
4
.github/workflows/release-build.yml
vendored
@ -43,14 +43,14 @@ jobs:
|
||||
# Create Chocolatey Package
|
||||
# setting the sha256 hash for new bundle
|
||||
- run: |
|
||||
Set-Variable -Name HASH -Value (Get-FileHash dist\**\spotube-*-windows-setup.exe).Hash
|
||||
mv dist/**/spotube-*-windows-setup.exe dist/Spotube-windows-x86_64-setup.exe
|
||||
Set-Variable -Name HASH -Value (Get-FileHash dist\Spotube-windows-x86_64-setup.exe).Hash
|
||||
sed -i "s/%{{WIN_SHA256}}%/$HASH/" choco-struct/tools/VERIFICATION.txt
|
||||
make VERSION=${{ steps.tag.outputs.tag }} choco
|
||||
|
||||
# Rename the artifacts
|
||||
- run: |
|
||||
mv dist/**/spotube.${{ steps.tag.outputs.tag }}.nupkg dist/Spotube-windows-x86_64.nupkg
|
||||
mv dist/**/spotube-*-windows-setup.exe dist/Spotube-windows-x86_64-setup.exe
|
||||
|
||||
# Publish to Chocolatey Repository
|
||||
- run: |
|
||||
|
Loading…
Reference in New Issue
Block a user