update windows filename for autoupdate

This commit is contained in:
Muhammed Kalkan 2022-07-28 18:51:37 +03:00 committed by GitHub
parent a377cf6eb4
commit 6254faa4e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ 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
winfilename=$(echo $filename | sed "s/OpenLens.Setup./OpenLens Setup /")
mv dist/OpenLens*.exe dist/$winfilename
fi