fix(release): use actual GITEA_TOKEN instead of hardcoded 'Bearer ***'
CI / Lint (pull_request) Canceled after 0s
CI / Test (pull_request) Canceled after 0s
CI / Build Android (pull_request) Canceled after 0s
CI / Build iOS (pull_request) Canceled after 0s

The publish-release step had 'Authorization: Bearer ***' which would
never work. Replaced with 'Authorization: token ' so it
pulls from the workflow env var correctly.
This commit is contained in:
robot committed 2026-08-03 14:04:56 +00:00
1 parent 065df61e8a
commit dc87dabbc3
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ jobs:
GITEA_BASE: https://git.westerntechnologies.duckdns.org GITEA_BASE: https://git.westerntechnologies.duckdns.org
run: | run: |
curl -s -X POST \ curl -s -X POST \
-H "Authorization: Bearer $GITEA_TOKEN" \ -H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "{\"tag_name\": \"$TAG\", \"name\": \"$TAG\", \"body\": \"Automated release build for $TAG\"}" \ -d "{\"tag_name\": \"$TAG\", \"name\": \"$TAG\", \"body\": \"Automated release build for $TAG\"}" \
"$GITEA_BASE/api/v1/repos/kfj001/kryz-go-flutter/releases" "$GITEA_BASE/api/v1/repos/kfj001/kryz-go-flutter/releases"