Win: cleanup the script

This commit is contained in:
Dennis Fokin 2022-06-30 12:04:24 +02:00
parent df03354554
commit 63bb6d88ea
No known key found for this signature in database
GPG Key ID: 870B88256690D8BC
2 changed files with 2 additions and 9 deletions

View File

@ -70,7 +70,7 @@ jobs:
mkdir $dest
mv build\windows\runner\Release\* $dest\
mv yubioath-desktop.msi deploy
mv resources\win\release-win.ps1 deploy
mv resources deploy
- name: Upload artifact
uses: actions/upload-artifact@v1

View File

@ -1,16 +1,9 @@
$version = $args[0]
echo "Cloning the Git repo"
git clone git@github.com:Yubico/yubioath-desktop-private.git
echo "Renaming the Actions folder and moving it"
mv yubioath-desktop-main-windows release
mv release yubioath-desktop-private
mv yubioath-desktop-* release
echo "Signing the executables"
cd yubioath-desktop-private
echo "Sleeping 5s: Change to signing key"
Start-Sleep -s 5
signtool.exe sign /fd SHA256 /t http://timestamp.digicert.com/scripts/timstamp.dll release/authenticator.exe
signtool.exe sign /fd SHA256 /t http://timestamp.digicert.com/scripts/timstamp.dll release/helper/authenticator-helper.exe