From 8d365ce54f61e3a2cc61b55a51d9a64cf76994f9 Mon Sep 17 00:00:00 2001 From: Truong Trung Nghia <149591043+ttncode@users.noreply.github.com> Date: Sun, 8 Nov 2026 16:45:17 +0700 Subject: [PATCH] chore(release): 0.6.2 --- .github/workflows/release.yml | 23 ++++++++++++----------- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc7f3cd..a3f123c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,19 +38,20 @@ jobs: - run: cargo test --manifest-path desktop/Cargo.toml - # Tauri downloads its NSIS tools with no retry and GitHub sometimes answers 504. Later attempts - # only redo the bundling, and the tools stay cached for the publishing step below. - - name: Build with retries for the installer tools + # Tauri downloads its NSIS tools with no retry and GitHub keeps answering 504, so they are put + # where Tauri looks for them first. + # shortcut: versions match @tauri-apps/cli 2.12.4; after an upgrade Tauri fetches its own again. + - name: Download the installer tools shell: bash - env: - TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} - TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} run: | - for attempt in 1 2 3 4 5 6 7 8; do - npx tauri build && exit 0 - sleep 60 - done - exit 1 + fetch() { curl -fsSL --retry 30 --retry-all-errors --retry-delay 20 -o "$2" "$1"; } + tools="$LOCALAPPDATA/tauri" + mkdir -p "$tools" + fetch https://github.com/tauri-apps/binary-releases/releases/download/nsis-3.13/nsis-3.13.zip "$RUNNER_TEMP/nsis.zip" + unzip -q "$RUNNER_TEMP/nsis.zip" -d "$tools" + mv "$tools/nsis-3.13" "$tools/NSIS" + mkdir -p "$tools/NSIS/Plugins/x86-unicode/additional" + fetch https://github.com/tauri-apps/nsis-tauri-utils/releases/download/nsis_tauri_utils-v0.5.3/nsis_tauri_utils.dll "$tools/NSIS/Plugins/x86-unicode/additional/nsis_tauri_utils.dll" - uses: tauri-apps/tauri-action@v0 env: diff --git a/package-lock.json b/package-lock.json index 245660c..75bf2ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "boost-focus-timer", - "version": "0.6.1", + "version": "0.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "boost-focus-timer", - "version": "0.6.1", + "version": "0.6.2", "license": "UNLICENSED", "dependencies": { "@dnd-kit/core": "^6.3.1", diff --git a/package.json b/package.json index 16770b2..318d13a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "boost-focus-timer", - "version": "0.6.1", + "version": "0.6.2", "private": true, "description": "A calm focus timer with to-dos, habits, goals and session history. Runs in the browser or as a browser extension; all data stays local.", "author": "ttncode",