Point Gitea URLs at gitea.iamchrisama.com
git.iamchrisama.com now redirects to gitea.iamchrisama.com, and API calls lose their auth header across the redirect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5c87b19085
commit
39f1eb8699
2 files changed
+3
-3
No files matched your search
@@ -4,8 +4,8 @@ ios-v* releases on Gitea. Only releases with a stemify-<version>.ipa are listed,
|
||||
ones used a different bundle ID. Set GITEA_TOKEN if the repo is private."""
|
||||
import json, os, re, urllib.request
|
||||
|
||||
REPO = "https://git.iamchrisama.com/cdnutter/stemify"
|
||||
API = "https://git.iamchrisama.com/api/v1/repos/cdnutter/stemify"
|
||||
REPO = "https://gitea.iamchrisama.com/cdnutter/stemify"
|
||||
API = "https://gitea.iamchrisama.com/api/v1/repos/cdnutter/stemify"
|
||||
RAW = f"{REPO}/raw/branch/main"
|
||||
HERE = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
MODE=${1:-}; NAME=stemify; TAGP=ios-v
|
||||
API=https://git.iamchrisama.com/api/v1/repos/cdnutter/stemify
|
||||
API=https://gitea.iamchrisama.com/api/v1/repos/cdnutter/stemify
|
||||
T=$(sed -n 's#.*://cdnutter:\([^@]*\)@.*#\1#p' ~/.config/gitea/cdnutter.credentials | head -1)
|
||||
V=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')
|
||||
BUILD=$(sed -nE 's/^ *CURRENT_PROJECT_VERSION: "(.*)"/\1/p' project.yml)
|
||||
|
||||
Reference in new issue
Block a user