native macOS codings agent orchestrator
6
fork

Configure Feed

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

yolo

khoi 488d2306 b0e1dfc1

+6 -5
+6 -5
.github/workflows/release.yml
··· 16 16 permissions: 17 17 contents: write 18 18 env: 19 - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 19 + GH_TOKEN: ${{ secrets.SUPACODE_SH_RELEASE_TOKEN }} 20 + RELEASE_REPO: supabit/supacode-sh 20 21 SPARKLE_PRIVATE_KEY: ${{ secrets.SPARKLE_PRIVATE_KEY }} 21 22 DEVELOPER_ID_CERT_P12: ${{ secrets.DEVELOPER_ID_CERT_P12 }} 22 23 DEVELOPER_ID_CERT_PASSWORD: ${{ secrets.DEVELOPER_ID_CERT_PASSWORD }} ··· 130 131 - run: | 131 132 STAGING=$(mktemp -d) 132 133 cp build/supacode.app.zip "$STAGING/" 133 - printf "%s" "$SPARKLE_PRIVATE_KEY" | tr -d '\r\n\t ' | ./bins/generate_appcast --download-url-prefix "https://github.com/$GITHUB_REPOSITORY/releases/download/$TAG/" --ed-key-file - "$STAGING" 134 + printf "%s" "$SPARKLE_PRIVATE_KEY" | tr -d '\r\n\t ' | ./bins/generate_appcast --download-url-prefix "https://github.com/$RELEASE_REPO/releases/download/$TAG/" --ed-key-file - "$STAGING" 134 135 cp "$STAGING/appcast.xml" build/appcast.xml 135 136 - run: | 136 137 NOTES_FILE=build/release-notes.txt 137 138 printf "" > "$NOTES_FILE" 138 - if gh release view "$TAG" >/dev/null 2>&1; then 139 - gh release upload "$TAG" build/supacode.app.zip build/appcast.xml --clobber 139 + if gh release view "$TAG" -R "$RELEASE_REPO" >/dev/null 2>&1; then 140 + gh release upload "$TAG" build/supacode.app.zip build/appcast.xml --clobber -R "$RELEASE_REPO" 140 141 else 141 - gh release create "$TAG" build/supacode.app.zip build/appcast.xml --title "$TAG" --notes-file "$NOTES_FILE" 142 + gh release create "$TAG" build/supacode.app.zip build/appcast.xml --title "$TAG" --notes-file "$NOTES_FILE" -R "$RELEASE_REPO" 142 143 fi