cd: fix windows executable path

This commit is contained in:
Kingkor Roy Tirtho 2023-03-08 01:21:33 +06:00
parent 05bb118cd8
commit 65fa715830

View File

@ -3,7 +3,7 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
version: version:
description: "Version to release" description: "Version to release (x.x.x)"
required: true required: true
default: "69.420.303" default: "69.420.303"
dry_run: dry_run:
@ -49,7 +49,7 @@ jobs:
- name: Create Chocolatey Package and set hash - name: Create Chocolatey Package and set hash
run: | run: |
mv dist/**/spotube-*-windows-setup.exe dist/Spotube-windows-x86_64-setup.exe mv dist/**/spotube-*-windows.exe dist/Spotube-windows-x86_64-setup.exe
Set-Variable -Name HASH -Value (Get-FileHash dist\Spotube-windows-x86_64-setup.exe).Hash 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 choco make choco