From 8bfbace3c1effcaeed8f46b283dfa2d60abaa853 Mon Sep 17 00:00:00 2001 From: MuhammedKalkan Date: Wed, 21 Sep 2022 17:09:22 +0000 Subject: [PATCH 01/17] Version updated to: 6.1.1 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index dfda3e0..f3b5af3 100644 --- a/version +++ b/version @@ -1 +1 @@ -6.1.0 +6.1.1 From 65b9776229077f9a2da6e2f35604e8945e2844bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sat, 10 Sep 2022 10:56:19 +0200 Subject: [PATCH 02/17] Build arm64 on linux --- .github/workflows/main.yml | 97 ++++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 47 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69b9e56..4e1be14 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,32 +38,35 @@ jobs: choco install visualstudio2019buildtools visualstudio2019-workload-vctools fi if [ "$RUNNER_OS" == "macOS" ]; then - env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build - for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do - if [[ "$file" == *"arm64"* ]]; then - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg - else - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.dmg - fi - done - for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.zip; do - if [[ "$file" == *"arm64"* ]]; then - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.zip - else - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.zip - fi - done + env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build + for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do + if [[ "$file" == *"arm64"* ]]; then + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg + else + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.dmg + fi + done + for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.zip; do + if [[ "$file" == *"arm64"* ]]; then + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.zip + else + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.zip + fi + done elif [ "$RUNNER_OS" == "Linux" ]; then - make build - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm + env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.AppImage + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.deb + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.aarch64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.rpm else - # Disable code sign on windows - unset CSC_LINK - unset CSC_KEY_PASSWORD - make build - cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + # Disable code sign on windows + unset CSC_LINK + unset CSC_KEY_PASSWORD + make build + cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe fi shell: bash working-directory: lens @@ -88,38 +91,38 @@ jobs: with: name: OpenLens-${{ matrix.os }} retention-days: 5 - path: | - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 - + path: | + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 + - name: Release uses: softprops/action-gh-release@v0.1.14 if: github.ref == 'refs/heads/main' with: tag_name: v${{ env.LENS_VERSION }} files: | - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 - name: Latest uses: softprops/action-gh-release@v0.1.14 if: github.ref == 'refs/heads/main' with: tag_name: Latest files: | - lens/dist/OpenLens*.dmg - lens/dist/OpenLens*.AppImage - lens/dist/OpenLens*.deb - lens/dist/OpenLens*.rpm - lens/dist/OpenLens*.exe - lens/dist/OpenLens*.zip - lens/dist/lates*.yml + lens/dist/OpenLens*.dmg + lens/dist/OpenLens*.AppImage + lens/dist/OpenLens*.deb + lens/dist/OpenLens*.rpm + lens/dist/OpenLens*.exe + lens/dist/OpenLens*.zip + lens/dist/lates*.yml From 838b1d473c4404105888e8fc759ec1c2ae0ebc43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Wed, 21 Sep 2022 11:23:20 +0200 Subject: [PATCH 03/17] Fix PR pipeline from external repos. --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4e1be14..c98d51b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,6 +38,14 @@ jobs: choco install visualstudio2019buildtools visualstudio2019-workload-vctools fi if [ "$RUNNER_OS" == "macOS" ]; then + if [ "${CSC_LINK}" = "" ]; then + unset CSC_LINK + fi + + if [ "${CSC_KEY_PASSWORD}" = "" ]; then + unset CSC_KEY_PASSWORD + fi + env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do if [[ "$file" == *"arm64"* ]]; then From 871acb7107d6dbcb42f2240e271cb04b5d46f99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Wed, 21 Sep 2022 12:46:33 +0200 Subject: [PATCH 04/17] Update main.yml --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c98d51b..24ed663 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -84,6 +84,10 @@ jobs: APPLEIDPASS: ${{ secrets.APPLEIDPASS }} CSC_LINK: ${{ secrets.CSC_LINK }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} + + - run: df -h + if: always() + - name: Calculate SHA256 checksum run: | if [ "$RUNNER_OS" == "Windows" ]; then From 1732f13d1854333e406794e618c70c68ea8e1d47 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Wed, 21 Sep 2022 21:02:17 +0300 Subject: [PATCH 05/17] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 24ed663..a71f33b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,6 +62,7 @@ jobs: fi done elif [ "$RUNNER_OS" == "Linux" ]; then + export USE_SYSTEM_FPM=true env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb From e0036945adc2d752af4fa74783199068e8656567 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Wed, 21 Sep 2022 21:16:11 +0300 Subject: [PATCH 06/17] Update main.yml --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a71f33b..86c41b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,6 +24,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16.16.0 + - uses: actions/setup-ruby@v1 + with: + ruby-version: 2.6 - name: Update Lens run: | git clone https://github.com/lensapp/lens.git @@ -62,7 +65,8 @@ jobs: fi done elif [ "$RUNNER_OS" == "Linux" ]; then - export USE_SYSTEM_FPM=true + gem install fpm + env USE_SYSTEM_FPM=true env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb @@ -86,9 +90,6 @@ jobs: CSC_LINK: ${{ secrets.CSC_LINK }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} - - run: df -h - if: always() - - name: Calculate SHA256 checksum run: | if [ "$RUNNER_OS" == "Windows" ]; then From d236bf94d87c1dd69bee2a930495c91a8ecf460f Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Wed, 21 Sep 2022 21:21:00 +0300 Subject: [PATCH 07/17] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86c41b5..9fc2abb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,9 +24,9 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16.16.0 - - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6 + ruby-version: '3.0' - name: Update Lens run: | git clone https://github.com/lensapp/lens.git From bfe41c0a28aae64f3d57f95f0922ae4037cb5262 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Wed, 21 Sep 2022 21:48:29 +0300 Subject: [PATCH 08/17] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9fc2abb..f1ef02f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -66,7 +66,7 @@ jobs: done elif [ "$RUNNER_OS" == "Linux" ]; then gem install fpm - env USE_SYSTEM_FPM=true + export USE_SYSTEM_FPM=true env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb From 453705a593166b82a1d6f9a84023d44660a6fe09 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Wed, 21 Sep 2022 22:19:16 +0300 Subject: [PATCH 09/17] Update main.yml --- .github/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1ef02f..822aa6e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -65,8 +65,6 @@ jobs: fi done elif [ "$RUNNER_OS" == "Linux" ]; then - gem install fpm - export USE_SYSTEM_FPM=true env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb From 30ee735a8d30b2af0e2a10fe957ea4b6b8d32076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Thu, 29 Sep 2022 17:34:48 +0200 Subject: [PATCH 10/17] Remove setup-ruby --- .github/workflows/main.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 822aa6e..1be1ffd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,9 +24,6 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16.16.0 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.0' - name: Update Lens run: | git clone https://github.com/lensapp/lens.git From 09ada4fc1166a712a420f9e449789698651a72bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Thu, 29 Sep 2022 17:47:20 +0200 Subject: [PATCH 11/17] swap cli args --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1be1ffd..722756d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,7 +62,7 @@ jobs: fi done elif [ "$RUNNER_OS" == "Linux" ]; then - env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64" make build + env ELECTRON_BUILDER_EXTRA_ARGS="--x64 --arm64" make build cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm From d15ac7fa75baaf217e174cdb185eac25ec78d58b Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Thu, 29 Sep 2022 19:44:03 +0300 Subject: [PATCH 12/17] Revert "Build arm64 on linux" --- .github/workflows/main.yml | 106 ++++++++++++++++--------------------- 1 file changed, 47 insertions(+), 59 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 722756d..69b9e56 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,43 +38,32 @@ jobs: choco install visualstudio2019buildtools visualstudio2019-workload-vctools fi if [ "$RUNNER_OS" == "macOS" ]; then - if [ "${CSC_LINK}" = "" ]; then - unset CSC_LINK - fi - - if [ "${CSC_KEY_PASSWORD}" = "" ]; then - unset CSC_KEY_PASSWORD - fi - - env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build - for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do - if [[ "$file" == *"arm64"* ]]; then - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg - else - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.dmg - fi - done - for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.zip; do - if [[ "$file" == *"arm64"* ]]; then - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.zip - else - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.zip - fi - done + env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build + for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do + if [[ "$file" == *"arm64"* ]]; then + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg + else + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.dmg + fi + done + for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.zip; do + if [[ "$file" == *"arm64"* ]]; then + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.zip + else + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.zip + fi + done elif [ "$RUNNER_OS" == "Linux" ]; then - env ELECTRON_BUILDER_EXTRA_ARGS="--x64 --arm64" make build - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.AppImage - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.deb - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.aarch64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.rpm + make build + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm else - # Disable code sign on windows - unset CSC_LINK - unset CSC_KEY_PASSWORD - make build - cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + # Disable code sign on windows + unset CSC_LINK + unset CSC_KEY_PASSWORD + make build + cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe fi shell: bash working-directory: lens @@ -84,7 +73,6 @@ jobs: APPLEIDPASS: ${{ secrets.APPLEIDPASS }} CSC_LINK: ${{ secrets.CSC_LINK }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} - - name: Calculate SHA256 checksum run: | if [ "$RUNNER_OS" == "Windows" ]; then @@ -100,38 +88,38 @@ jobs: with: name: OpenLens-${{ matrix.os }} retention-days: 5 - path: | - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 - + path: | + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 + - name: Release uses: softprops/action-gh-release@v0.1.14 if: github.ref == 'refs/heads/main' with: tag_name: v${{ env.LENS_VERSION }} files: | - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 - name: Latest uses: softprops/action-gh-release@v0.1.14 if: github.ref == 'refs/heads/main' with: tag_name: Latest files: | - lens/dist/OpenLens*.dmg - lens/dist/OpenLens*.AppImage - lens/dist/OpenLens*.deb - lens/dist/OpenLens*.rpm - lens/dist/OpenLens*.exe - lens/dist/OpenLens*.zip - lens/dist/lates*.yml + lens/dist/OpenLens*.dmg + lens/dist/OpenLens*.AppImage + lens/dist/OpenLens*.deb + lens/dist/OpenLens*.rpm + lens/dist/OpenLens*.exe + lens/dist/OpenLens*.zip + lens/dist/lates*.yml From 92e8ea6270f8f1b4f1481005f61a840247def976 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Thu, 29 Sep 2022 21:12:06 +0300 Subject: [PATCH 13/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6c5665..069c285 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is the Binary Build Repo for Lens Repository located here : https://github. However, this build does not require you to log in and includes only open source part. Download and use as is. -Go To Release to download your binary of type Linux , MacOS or Windows +Go To Releases to download your binary of type Linux , MacOS or Windows If you have trouble about not seeing pod logs, remove old config files / extensions remaining from old Lens app. From d205bb345f2fffb991d1f7178d1dab92b25f4c04 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Sat, 1 Oct 2022 10:04:40 +0300 Subject: [PATCH 14/17] Revert "Revert "Build arm64 on linux"" --- .github/workflows/main.yml | 106 +++++++++++++++++++++---------------- 1 file changed, 59 insertions(+), 47 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69b9e56..722756d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,32 +38,43 @@ jobs: choco install visualstudio2019buildtools visualstudio2019-workload-vctools fi if [ "$RUNNER_OS" == "macOS" ]; then - env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build - for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do - if [[ "$file" == *"arm64"* ]]; then - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg - else - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.dmg - fi - done - for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.zip; do - if [[ "$file" == *"arm64"* ]]; then - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.zip - else - cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.zip - fi - done + if [ "${CSC_LINK}" = "" ]; then + unset CSC_LINK + fi + + if [ "${CSC_KEY_PASSWORD}" = "" ]; then + unset CSC_KEY_PASSWORD + fi + + env ELECTRON_BUILDER_EXTRA_ARGS="--arm64 --x64 --config.dmg.sign=false" make build + for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.dmg; do + if [[ "$file" == *"arm64"* ]]; then + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.dmg + else + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.dmg + fi + done + for file in dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.zip; do + if [[ "$file" == *"arm64"* ]]; then + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}-arm64.zip + else + cp "$file" releasefiles/OpenLens-${{ env.LENS_VERSION }}.zip + fi + done elif [ "$RUNNER_OS" == "Linux" ]; then - make build - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb - cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm + env ELECTRON_BUILDER_EXTRA_ARGS="--x64 --arm64" make build + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.amd64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.x86_64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.AppImage releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.AppImage + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.arm64.deb releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.deb + cp dist/OpenLens-${{ env.LENS_VERSION }}-latest.*.aarch64.rpm releasefiles/OpenLens-${{ env.LENS_VERSION }}.arm64.rpm else - # Disable code sign on windows - unset CSC_LINK - unset CSC_KEY_PASSWORD - make build - cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + # Disable code sign on windows + unset CSC_LINK + unset CSC_KEY_PASSWORD + make build + cp dist/OpenLens*.exe releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe fi shell: bash working-directory: lens @@ -73,6 +84,7 @@ jobs: APPLEIDPASS: ${{ secrets.APPLEIDPASS }} CSC_LINK: ${{ secrets.CSC_LINK }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} + - name: Calculate SHA256 checksum run: | if [ "$RUNNER_OS" == "Windows" ]; then @@ -88,38 +100,38 @@ jobs: with: name: OpenLens-${{ matrix.os }} retention-days: 5 - path: | - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 - + path: | + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 + - name: Release uses: softprops/action-gh-release@v0.1.14 if: github.ref == 'refs/heads/main' with: tag_name: v${{ env.LENS_VERSION }} files: | - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.AppImage - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.deb - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.rpm - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe - lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.dmg + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.AppImage + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.deb + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.rpm + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.zip + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}.exe + lens/releasefiles/OpenLens-${{ env.LENS_VERSION }}*.sha256 - name: Latest uses: softprops/action-gh-release@v0.1.14 if: github.ref == 'refs/heads/main' with: tag_name: Latest files: | - lens/dist/OpenLens*.dmg - lens/dist/OpenLens*.AppImage - lens/dist/OpenLens*.deb - lens/dist/OpenLens*.rpm - lens/dist/OpenLens*.exe - lens/dist/OpenLens*.zip - lens/dist/lates*.yml + lens/dist/OpenLens*.dmg + lens/dist/OpenLens*.AppImage + lens/dist/OpenLens*.deb + lens/dist/OpenLens*.rpm + lens/dist/OpenLens*.exe + lens/dist/OpenLens*.zip + lens/dist/lates*.yml From 243d898d637318638465b43162ef2d75846cf849 Mon Sep 17 00:00:00 2001 From: MuhammedKalkan Date: Tue, 4 Oct 2022 18:49:07 +0000 Subject: [PATCH 15/17] Version updated to: 6.1.2 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index f3b5af3..5e32542 100644 --- a/version +++ b/version @@ -1 +1 @@ -6.1.1 +6.1.2 From 443db625ae270127df1d16fa9eea98fd05ffaeb5 Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Tue, 4 Oct 2022 23:27:26 +0300 Subject: [PATCH 16/17] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e43b0f9..b12d9d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .DS_Store +README.md From a87fafc22f5ba91435a914a8e678815d6b2bdaef Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Tue, 4 Oct 2022 23:29:16 +0300 Subject: [PATCH 17/17] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 069c285..2e0e1a4 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,6 @@ Go To Releases to download your binary of type Linux , MacOS or Windows If you have trouble about not seeing pod logs, remove old config files / extensions remaining from old Lens app. -**NOTE:** You can sponsor certificates from the button or link at the right. +**NOTE:** You can sponsor certificates from the button or link at the right.PLEASE KEEP IN MIND PATREON CHARGES MONTHLY SO IF YOU DONT WANT TO BE BILLED EVERY MONTH , CANCEL BEING A PATRON AFTER 1st OF THE INCOMING MONTH YOU HAVE PLEDGED **NOTE:** Auto Updater is now live starting with every binary downloaded from Latest tag or the corresponding release assets.