From 696651e34c4145113123f03c1f1c7f6a707c541a Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Thu, 28 Jul 2022 18:53:59 +0300 Subject: [PATCH] Update windows filename for autoupdater --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 025b739..15beaa9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,8 +46,10 @@ jobs: cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm else cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - filename=dist/Open*.exe + cd dist + filename=Open*.exe winfilename=$(echo $filename | sed "s/OpenLens.Setup./OpenLens Setup /") + cd .. mv dist/OpenLens*.exe dist/$winfilename fi shell: bash