diff --git a/ios/scripts/make-source.py b/ios/scripts/make-source.py index 31b35d2..2b5bc46 100755 --- a/ios/scripts/make-source.py +++ b/ios/scripts/make-source.py @@ -4,8 +4,8 @@ ios-v* releases on Gitea. Only releases with a stemify-.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__)) diff --git a/ios/scripts/publish.sh b/ios/scripts/publish.sh index 0d7d035..256751f 100755 --- a/ios/scripts/publish.sh +++ b/ios/scripts/publish.sh @@ -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)