mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55: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
|
# Create Chocolatey Package
|
||||||
# setting the sha256 hash for new bundle
|
# setting the sha256 hash for new bundle
|
||||||
- run: |
|
- 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
|
sed -i "s/%{{WIN_SHA256}}%/$HASH/" choco-struct/tools/VERIFICATION.txt
|
||||||
make VERSION=${{ steps.tag.outputs.tag }} choco
|
make VERSION=${{ steps.tag.outputs.tag }} choco
|
||||||
|
|
||||||
# Rename the artifacts
|
# Rename the artifacts
|
||||||
- run: |
|
- run: |
|
||||||
mv dist/**/spotube.${{ steps.tag.outputs.tag }}.nupkg dist/Spotube-windows-x86_64.nupkg
|
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
|
# Publish to Chocolatey Repository
|
||||||
- run: |
|
- run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user