From 63bb6d88ead2be0ea84bf4db0b5262715c2df222 Mon Sep 17 00:00:00 2001 From: Dennis Fokin Date: Thu, 30 Jun 2022 12:04:24 +0200 Subject: [PATCH] Win: cleanup the script --- .github/workflows/windows.yml | 2 +- resources/win/release-win.ps1 | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index bb318f2b..2f656c96 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 diff --git a/resources/win/release-win.ps1 b/resources/win/release-win.ps1 index a064da40..39d697ab 100644 --- a/resources/win/release-win.ps1 +++ b/resources/win/release-win.ps1 @@ -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