From 1b8f4ab86b5deb8cda4afcf5e20dc5b828fe4c39 Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Fri, 23 Feb 2024 18:58:24 +0300 Subject: [PATCH 1/2] Make deb use latest electron --- build_deb.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_deb.sh b/build_deb.sh index e327517..feec793 100755 --- a/build_deb.sh +++ b/build_deb.sh @@ -13,7 +13,8 @@ usage() { download_electron_binary(){ arch=${1} echo "Downloading electron ${arch}" - curl -L -o "${TEMPDIR}/electron-${arch}.zip" "https://github.com/electron/electron/releases/download/v27.3.2/electron-v27.3.2-linux-${arch}.zip" + LINK=$(jq -r .electron."${arch}" ./utility/version_info.json) + curl -L -o "${TEMPDIR}/electron-${arch}.zip" "${LINK}" unzip -q "${TEMPDIR}/electron-${arch}.zip" -d "${TEMPDIR}/electron-${arch}" } From 9b3eec27a8e215a4275da8f7e25631c35a0a8c69 Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Fri, 23 Feb 2024 18:59:54 +0300 Subject: [PATCH 2/2] CI for dev branch --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 878b770..2a8bdbb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,9 @@ on: pull_request: branches: - '*' + push: + branches: + - 'dev' jobs: