Private
Public Access
1
0

fix(ci): use base64 -i flag for macOS input file syntax

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 13:15:58 +01:00
parent 4f9c73e90f
commit 7f27ee1b4e

View File

@@ -69,7 +69,7 @@ workflows:
-H "Authorization: token $GITEA_TOKEN" \
"$GITEA_API/repos/$GITEA_REPO/contents/altstore-source.json" \
| jq -r '.sha')
CONTENT=$(base64 altstore-source.json | tr -d '\n')
CONTENT=$(base64 -i altstore-source.json | tr -d '\n')
curl -sf -X PUT "$GITEA_API/repos/$GITEA_REPO/contents/altstore-source.json" \
-H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \