From b24622d1486273efb244ed4032af05f857733ebb Mon Sep 17 00:00:00 2001 From: SentienceDEV Date: Thu, 12 Feb 2026 21:16:32 -0800 Subject: [PATCH] another fix for sync --- .github/workflows/release.yml | 4 +++- .github/workflows/sync-extension.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1851425..de5ff0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -121,8 +121,10 @@ jobs: mkdir -p extension-temp cd extension-temp - HTTP_CODE=$(curl -s -w "%{http_code}" -o release.json \ + HTTP_CODE=$(curl -L -s -w "%{http_code}" -o release.json \ -H "Authorization: token $TOKEN" \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ "https://api.github.com/repos/$REPO/releases/tags/$TAG") if [ "$HTTP_CODE" != "200" ]; then diff --git a/.github/workflows/sync-extension.yml b/.github/workflows/sync-extension.yml index e9804d0..708e708 100644 --- a/.github/workflows/sync-extension.yml +++ b/.github/workflows/sync-extension.yml @@ -85,8 +85,10 @@ jobs: echo "⬇️ Fetching release info for $TAG from $REPO..." # 1. Get Release Info - HTTP_CODE=$(curl -s -w "%{http_code}" -o release.json \ + HTTP_CODE=$(curl -L -s -w "%{http_code}" -o release.json \ -H "Authorization: token ${{ secrets.SENTIENCE_CHROME_TOKEN }}" \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ "https://api.github.com/repos/$REPO/releases/tags/$TAG") if [ "$HTTP_CODE" != "200" ]; then