From 5774de09419c281b112c671c6a1fb5c644d4e23d Mon Sep 17 00:00:00 2001 From: cary-rowen Date: Sun, 1 Dec 2024 03:10:20 +0800 Subject: [PATCH 1/2] Update PAT_Token --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6e62a57..18348d41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -203,7 +203,7 @@ jobs: # Step 2: Download update_info.json from the release assets - name: Download update_info.json from release env: - PAT_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PAT_TOKEN: ${{ secrets.PAT_TOKEN }} run: | $ReleaseAssetsUrl = "${{ github.event.release.assets_url }}" Write-Host "Fetching release assets from: $ReleaseAssetsUrl" @@ -233,7 +233,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PAT_TOKEN }} commit-message: 'Update update_info.json after release' branch: update-info/${{ github.run_id }} title: 'Update update_info.json after release' From 308bf2765b57d3af0b087072f40dfd9e85bce32f Mon Sep 17 00:00:00 2001 From: cary-rowen Date: Sun, 1 Dec 2024 06:48:37 +0800 Subject: [PATCH 2/2] Fix: Use correct update URL and bump version to 2024.2 --- bookworm/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bookworm/app.py b/bookworm/app.py index 518d93f8..415f13d3 100644 --- a/bookworm/app.py +++ b/bookworm/app.py @@ -9,11 +9,11 @@ description = "The Universally accessible document reader" author = "Blind Pandas" author_email = "info@blindpandas.com" -version = "2024.1" -version_ex = "2024.1.0.11" +version = "2024.2" +version_ex = "2024.2.0.12" url = "https://github.com/blindpandas/bookworm" website = "https://github.com/blindpandas/bookworm" -update_url = "https://github.com/blindpandas/bookworm/blob/main/update_info.json" +update_url = "https://raw.githubusercontent.com/blindpandas/bookworm/main/update_info.json" copyright = f"Copyright (c) 2024 {author} and {display_name} contributors." exit_code = 0 is_frozen = getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS")