From 5545ccaf1f05c1249acbefd0bc5fa5436a36d93f Mon Sep 17 00:00:00 2001 From: HRiggs Date: Tue, 2 Dec 2025 23:22:41 -0500 Subject: [PATCH] fugma --- scripts/generate_readme.sh | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/scripts/generate_readme.sh b/scripts/generate_readme.sh index 06977d6..85ac19f 100644 --- a/scripts/generate_readme.sh +++ b/scripts/generate_readme.sh @@ -5,27 +5,8 @@ set -euo pipefail # This file is intended to be run in CI and locally. determine_repo_web_base() { - local origin_url - origin_url="$(git config --get remote.origin.url || true)" - if [[ -z "${origin_url}" ]]; then - echo "Error: could not determine git remote origin URL" >&2 - exit 1 - fi - - local web_base - if [[ "${origin_url}" =~ ^https?:// ]]; then - web_base="${origin_url%.git}" - elif [[ "${origin_url}" =~ ^git@([^:]+):(.+)\.git$ ]]; then - local host path - host="${BASH_REMATCH[1]}" - path="${BASH_REMATCH[2]}" - web_base="https://${host}/${path}" - else - # Fallback: strip trailing .git if present - web_base="${origin_url%.git}" - fi - - printf '%s' "${web_base}" + # Use hardcoded base URL + printf '%s' "https://git.hudsonriggs.systems/HRiggs/Tools" } determine_branch() {