From becaf751d3c00fbff21624ef114fec0d252975a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Hamy?= Date: Thu, 22 Jun 2023 14:22:09 +0200 Subject: [PATCH] Release 5.30.570-2 --- .github/workflows/build-artifacts.yml | 11 ++++++++++- .github/workflows/build.yml | 2 +- Makefile | 6 +++++- dev.aunetx.deezer.appdata.xml | 1 + dev.aunetx.deezer.yml | 11 ++++++----- package-append.json | 5 ++++- 6 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 0b44991..a53355b 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -15,7 +15,12 @@ jobs: uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 18 + - uses: MCJack123/ghaction-generate-release-hashes@v3 + with: + hash-type: sha256 + file-name: hashes_sha256.txt + - name: install_deps run: make install_deps @@ -29,6 +34,8 @@ jobs: run: make build_appimage - name: build_7z run: make build_7z + - name: build_tar.xz + run: make build_tar.xz - name: Get the version id: get_version @@ -47,3 +54,5 @@ jobs: artifacts/x64/*.snap artifacts/x64/*.AppImage artifacts/x64/*.7z + artifacts/x64/*.tar.xz + hashes_sha256.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9760786..2cef0e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 18 - name: install_deps run: make install_deps diff --git a/Makefile b/Makefile index 2390909..e7ccfc3 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,11 @@ build_7z: @echo "Build 7z archive" @yarn --cwd=app run build-7z -build_pkgs: install_deps build_deb build_rpm build_snap build_appimage build_7z +build_tar.xz: + @echo "Build tar.xz archive" + @yarn --cwd=app run build-tar.xz + +build_pkgs: install_deps build_deb build_rpm build_snap build_appimage build_7z build_tar.xz #! UTILS diff --git a/dev.aunetx.deezer.appdata.xml b/dev.aunetx.deezer.appdata.xml index 8e94c28..fe48d5e 100644 --- a/dev.aunetx.deezer.appdata.xml +++ b/dev.aunetx.deezer.appdata.xml @@ -20,6 +20,7 @@ HiDpiIcon + diff --git a/dev.aunetx.deezer.yml b/dev.aunetx.deezer.yml index e369985..a18fe02 100644 --- a/dev.aunetx.deezer.yml +++ b/dev.aunetx.deezer.yml @@ -1,11 +1,11 @@ app-id: dev.aunetx.deezer runtime: org.freedesktop.Platform -runtime-version: '21.08' +runtime-version: '22.08' sdk: org.freedesktop.Sdk base: org.electronjs.Electron2.BaseApp -base-version: '21.08' +base-version: '22.08' sdk-extensions: - - org.freedesktop.Sdk.Extension.node16 + - org.freedesktop.Sdk.Extension.node18 command: run.sh separate-locales: false finish-args: @@ -27,7 +27,7 @@ finish-args: - --filesystem=xdg-pictures - --filesystem=xdg-download:ro build-options: - append-path: /usr/lib/sdk/node16/bin + append-path: /usr/lib/sdk/node18/bin cflags: -O2 -g cxxflags: -O2 -g env: @@ -39,7 +39,7 @@ modules: env: XDG_CACHE_HOME: /run/build/deezer/flatpak-node/cache npm_config_cache: /run/build/deezer/flatpak-node/npm-cache - npm_config_nodedir: /usr/lib/sdk/node16 + npm_config_nodedir: /usr/lib/sdk/node18 npm_config_offline: 'true' subdir: main sources: @@ -92,3 +92,4 @@ modules: - install -Dm644 dev.aunetx.deezer.appdata.xml /app/share/appdata/dev.aunetx.deezer.appdata.xml - install -Dm644 dev.aunetx.deezer.svg /app/share/icons/hicolor/scalable/apps/dev.aunetx.deezer.svg - install -Dm644 dev.aunetx.deezer.desktop /app/share/applications/dev.aunetx.deezer.desktop + - sleep 1000 \ No newline at end of file diff --git a/package-append.json b/package-append.json index c20133b..f546d05 100644 --- a/package-append.json +++ b/package-append.json @@ -9,6 +9,7 @@ "build-snap": "electron-builder --x64 --linux snap", "build-appimage": "electron-builder --x64 --linux AppImage", "build-7z": "electron-builder --x64 --linux 7z", + "build-tar.xz": "electron-builder --x64 --linux tar.xz", "build-arm": "electron-builder --arm64 --linux deb rpm snap AppImage 7z tar.gz zip", "build-deb-arm": "electron-builder --arm64 --linux deb", @@ -16,10 +17,12 @@ "build-snap-arm": "electron-builder --arm64 --linux snap", "build-appimage-arm": "electron-builder --arm64 --linux AppImage", "build-7z-arm": "electron-builder --arm64 --linux 7z", + "build-tar.xz-arm": "electron-builder --arm64 --linux tar.xz", "build-x86": "electron-builder --ia32 --linux deb", "build-deb-x86": "electron-builder --ia32 --linux deb", - "build-7z-x86": "electron-builder --ia32 --linux 7z" + "build-7z-x86": "electron-builder --ia32 --linux 7z", + "build-tar.xz-x86": "electron-builder --ia32 --linux tar.xz" }, "devDependencies": { "electron": "^13.6.9",