chore(aaif): rename a bunch of repository references (#8152)
Signed-off-by: Michael Neale <michael.neale@gmail.com> Co-authored-by: Michael Neale <michael.neale@gmail.com> continuing migration to aaif
This commit is contained in:
@@ -4,7 +4,7 @@ Automated pipeline for detecting and documenting CLI command changes between goo
|
||||
|
||||
## Overview
|
||||
|
||||
This automation keeps the [CLI Commands Guide](https://block.github.io/goose/docs/guides/goose-cli-commands) synchronized with code changes by:
|
||||
This automation keeps the [CLI Commands Guide](https://goose-docs.ai/docs/guides/goose-cli-commands) synchronized with code changes by:
|
||||
|
||||
1. **Extracting** CLI structure from goose binary using `--help` output (deterministic)
|
||||
2. **Detecting** changes between versions (deterministic diff)
|
||||
|
||||
@@ -32,7 +32,7 @@ download_release_binary() {
|
||||
echo "Downloading goose $version from GitHub releases..." >&2
|
||||
|
||||
# Use the official download script with custom bin dir and specific version
|
||||
curl -fsSL "https://github.com/block/goose/releases/download/stable/download_cli.sh" | \
|
||||
curl -fsSL "https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh" | \
|
||||
CONFIGURE=false GOOSE_BIN_DIR="$bin_dir" GOOSE_VERSION="$version" bash >&2 2>&1 || {
|
||||
echo "Error: Failed to download goose $version" >&2
|
||||
return 1
|
||||
|
||||
@@ -15,7 +15,7 @@ GOOSE_REPO=${GOOSE_REPO:-"$HOME/Development/goose"}
|
||||
# Function to get release tags using gh CLI
|
||||
get_latest_release() {
|
||||
if command -v gh &> /dev/null; then
|
||||
gh release list --repo block/goose --limit 1 --json tagName --jq '.[0].tagName' 2>/dev/null
|
||||
gh release list --repo aaif-goose/goose --limit 1 --json tagName --jq '.[0].tagName' 2>/dev/null
|
||||
else
|
||||
# Fallback: get latest version tag from git
|
||||
cd "$GOOSE_REPO" && git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -1
|
||||
@@ -24,7 +24,7 @@ get_latest_release() {
|
||||
|
||||
get_previous_release() {
|
||||
if command -v gh &> /dev/null; then
|
||||
gh release list --repo block/goose --limit 2 --json tagName --jq '.[].tagName' 2>/dev/null | sed -n '2p'
|
||||
gh release list --repo aaif-goose/goose --limit 2 --json tagName --jq '.[].tagName' 2>/dev/null | sed -n '2p'
|
||||
else
|
||||
# Fallback: get second-latest version tag from git
|
||||
cd "$GOOSE_REPO" && git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sed -n '2p'
|
||||
|
||||
Reference in New Issue
Block a user