native macOS codings agent orchestrator
6
fork

Configure Feed

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

Fix release GH_TOKEN handling

khoi 175167f6 20f05561

+4 -3
+4 -3
.github/workflows/release.yml
··· 16 16 permissions: 17 17 contents: write 18 18 env: 19 + GH_TOKEN: ${{ github.token }} 19 20 RELEASE_REPO_PRIMARY: supabit/supacode-sh 20 21 RELEASE_REPO_MAIN: supabitapp/supacode 21 22 RELEASE_REPO_SH: supabit/supacode-sh ··· 140 141 - run: | 141 142 NOTES_FILE=build/release-notes.txt 142 143 printf "" > "$NOTES_FILE" 143 - if GH_TOKEN="$GITHUB_TOKEN" gh release view "$TAG" -R "$RELEASE_REPO_MAIN" >/dev/null 2>&1; then 144 - GH_TOKEN="$GITHUB_TOKEN" gh release upload "$TAG" build/supacode.app.zip build/appcast.xml --clobber -R "$RELEASE_REPO_MAIN" 144 + if gh release view "$TAG" -R "$RELEASE_REPO_MAIN" >/dev/null 2>&1; then 145 + gh release upload "$TAG" build/supacode.app.zip build/appcast.xml --clobber -R "$RELEASE_REPO_MAIN" 145 146 else 146 - GH_TOKEN="$GITHUB_TOKEN" gh release create "$TAG" build/supacode.app.zip build/appcast.xml --title "$TAG" --notes-file "$NOTES_FILE" -R "$RELEASE_REPO_MAIN" 147 + gh release create "$TAG" build/supacode.app.zip build/appcast.xml --title "$TAG" --notes-file "$NOTES_FILE" -R "$RELEASE_REPO_MAIN" 147 148 fi 148 149 149 150 if GH_TOKEN="$SUPACODE_SH_RELEASE_TOKEN" gh release view "$TAG" -R "$RELEASE_REPO_SH" >/dev/null 2>&1; then