native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Some actions cleanup after open source

khoi e1d1ba53 6a902fac

+13 -14
+12 -13
.github/workflows/release.yml
··· 20 20 permissions: 21 21 contents: read 22 22 env: 23 - RELEASE_REPO_SH: supabitapp/supacode-sh 23 + RELEASE_REPO: supabitapp/supacode 24 24 GH_TOKEN: ${{ github.token }} 25 25 steps: 26 26 - uses: actions/checkout@v6 ··· 36 36 - name: Prepare release context 37 37 run: | 38 38 set -euo pipefail 39 - RELEASE_TAGS=$(gh release list -R "$RELEASE_REPO_SH" --limit 100 | awk '{print $1}') 39 + RELEASE_TAGS=$(gh release list -R "$RELEASE_REPO" --limit 100 | awk '{print $1}') 40 40 PREV_TAG=$(printf '%s\n' "$RELEASE_TAGS" | awk -v tag="$TAG" '$1!=tag {print $1; exit}') 41 41 if [ -z "$PREV_TAG" ]; then 42 42 PREV_TAG=$(git describe --tags --abbrev=0 --match "v*" "$TAG^" 2>/dev/null || true) ··· 340 340 341 341 curl -fsSL "https://supacode.sh/download/latest/appcast.xml" -o "$STAGING/appcast.xml" || true 342 342 343 - RELEASE_REPO_SH="supabitapp/supacode-sh" 343 + RELEASE_REPO="supabitapp/supacode" 344 344 SEEN_VERSIONS="" 345 345 for i in $(seq 1 $MAX_DELTAS); do 346 - PREV_TAG=$(gh release list --limit $i --exclude-drafts --exclude-pre-releases -R "$RELEASE_REPO_SH" --json tagName --jq ".[$((i-1))].tagName" 2>/dev/null || true) 346 + PREV_TAG=$(gh release list --limit $i --exclude-drafts --exclude-pre-releases -R "$RELEASE_REPO" --json tagName --jq ".[$((i-1))].tagName" 2>/dev/null || true) 347 347 if [ -n "$PREV_TAG" ] && [ "$PREV_TAG" != "$TAG" ]; then 348 348 echo "Downloading $PREV_TAG for delta generation..." 349 - gh release download "$PREV_TAG" -p "supacode.app.zip" -O "$STAGING/supacode-$PREV_TAG.app.zip" -R "$RELEASE_REPO_SH" 2>/dev/null || true 349 + gh release download "$PREV_TAG" -p "supacode.app.zip" -O "$STAGING/supacode-$PREV_TAG.app.zip" -R "$RELEASE_REPO" 2>/dev/null || true 350 350 if [ -f "$STAGING/supacode-$PREV_TAG.app.zip" ]; then 351 351 BUNDLE_VERSION=$(unzip -p "$STAGING/supacode-$PREV_TAG.app.zip" "supacode.app/Contents/Info.plist" 2>/dev/null | /usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" /dev/stdin 2>/dev/null || echo "") 352 352 if [ -n "$BUNDLE_VERSION" ] && echo "$SEEN_VERSIONS" | grep -q "^$BUNDLE_VERSION$"; then ··· 354 354 rm -f "$STAGING/supacode-$PREV_TAG.app.zip" 355 355 else 356 356 [ -n "$BUNDLE_VERSION" ] && SEEN_VERSIONS="$SEEN_VERSIONS$BUNDLE_VERSION"$'\n' 357 - gh release view "$PREV_TAG" -R "$RELEASE_REPO_SH" --json body --jq '.body' > "$STAGING/supacode-$PREV_TAG.app.md" 2>/dev/null || true 357 + gh release view "$PREV_TAG" -R "$RELEASE_REPO" --json body --jq '.body' > "$STAGING/supacode-$PREV_TAG.app.md" 2>/dev/null || true 358 358 fi 359 359 fi 360 360 fi 361 361 done 362 362 363 - printf "%s" "$SPARKLE_PRIVATE_KEY" | tr -d '\r\n\t ' | ./bins/generate_appcast --download-url-prefix "https://supacode.sh/download/$TAG/" --full-release-notes-url "https://github.com/supabitapp/supacode-sh/releases" --embed-release-notes --maximum-versions $MAX_DELTAS --maximum-deltas $MAX_DELTAS --delta-compression lzma --ed-key-file - "$STAGING" 363 + printf "%s" "$SPARKLE_PRIVATE_KEY" | tr -d '\r\n\t ' | ./bins/generate_appcast --download-url-prefix "https://supacode.sh/download/$TAG/" --full-release-notes-url "https://github.com/supabitapp/supacode/releases" --embed-release-notes --maximum-versions $MAX_DELTAS --maximum-deltas $MAX_DELTAS --delta-compression lzma --ed-key-file - "$STAGING" 364 364 cp "$STAGING/appcast.xml" build/appcast.xml 365 365 find "$STAGING" -name "*.delta" -exec cp {} build/ \; 2>/dev/null || true 366 366 - uses: actions/upload-artifact@v6 ··· 378 378 permissions: 379 379 contents: write 380 380 env: 381 - GH_TOKEN: ${{ secrets.SUPACODE_SH_RELEASE_TOKEN }} 382 - RELEASE_REPO_SH: supabitapp/supacode-sh 381 + RELEASE_REPO: supabitapp/supacode 383 382 steps: 384 383 - run: | 385 384 TAG="$GITHUB_REF_NAME" ··· 399 398 NOTES_FILE=build/release-notes.md 400 399 DELTA_FILES=$(find build -name "*.delta" -type f 2>/dev/null | tr '\n' ' ' || true) 401 400 402 - if gh release view "$TAG" -R "$RELEASE_REPO_SH" >/dev/null 2>&1; then 403 - gh release edit "$TAG" --notes-file "$NOTES_FILE" -R "$RELEASE_REPO_SH" 404 - gh release upload "$TAG" build/supacode.app.zip build/supacode.dmg build/appcast.xml $DELTA_FILES --clobber -R "$RELEASE_REPO_SH" 401 + if gh release view "$TAG" -R "$RELEASE_REPO" >/dev/null 2>&1; then 402 + gh release edit "$TAG" --notes-file "$NOTES_FILE" -R "$RELEASE_REPO" 403 + gh release upload "$TAG" build/supacode.app.zip build/supacode.dmg build/appcast.xml $DELTA_FILES --clobber -R "$RELEASE_REPO" 405 404 else 406 - gh release create "$TAG" build/supacode.app.zip build/supacode.dmg build/appcast.xml $DELTA_FILES --title "$TAG" --notes-file "$NOTES_FILE" -R "$RELEASE_REPO_SH" 405 + gh release create "$TAG" build/supacode.app.zip build/supacode.dmg build/appcast.xml $DELTA_FILES --title "$TAG" --notes-file "$NOTES_FILE" -R "$RELEASE_REPO" 407 406 fi 408 407 - run: | 409 408 set -euo pipefail
+1 -1
supacode/Features/Repositories/Views/SidebarFooterView.swift
··· 23 23 Spacer() 24 24 Menu { 25 25 Button("Submit GitHub issue", systemImage: "exclamationmark.bubble") { 26 - if let url = URL(string: "https://github.com/supabitapp/supacode-sh/issues/new") { 26 + if let url = URL(string: "https://github.com/supabitapp/supacode/issues/new") { 27 27 openURL(url) 28 28 } 29 29 }