chore(release): drop the separate opencode-beta release repo by opencode-agent[bot] · Pull Request #56083 · anomalyco/opencode · GitHub
Skip to content

chore(release): drop the separate opencode-beta release repo - #56083

Merged
opencode-agent[bot] merged 1 commit into
devfrom
drop-opencode-beta-repo
Oct 16, 2026
Merged

opencode-agent[bot] merged 1 commit into
devfrom
drop-opencode-beta-repo

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Beta desktop builds already go out through the update service. On beta, script/publish.ts only runs the desktop publish, which calls UpdateArtifact.publish with channel: beta, and the beta Electron config reads updates from opencode.ai/update/api/beta/desktop/opencode/. Nothing has been published to anomalyco/opencode-beta since v0.0.0-beta-19723 on Sep 17. Even so, the workflow still pointed GH_REPO at that repo for every beta run.

This PR removes the separate release repo from the publish pipeline:

  • Drop the beta → anomalyco/opencode-beta GH_REPO override and the repo output in the version job. Steps that need GH_REPO now use github.repository directly.
  • Stop script/version.ts from emitting repo=.
  • Delete packages/desktop/scripts/finalize-latest-json.ts and finalize-latest-yml.ts. They built GitHub-release download URLs from GH_REPO, and nothing calls them anymore.

The opencode-beta package names (AUR, Homebrew, RPM) are untouched. They name packages, not the repo.

Behavior on dev and other branches is unchanged: GH_REPO already resolved to github.repository there.

Requested by: @thdxr (dax via Slack)

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I traced the beta and dev publish paths. Nothing still reads needs.version.outputs.repo or calls the deleted finalize-latest-* scripts. Beta desktop artifacts go out through UpdateArtifact.publish and electron-builder's generic provider (--publish never), so the anomalyco/opencode-beta override wasn't doing anything anymore. I ran script/version.ts on the beta channel: it writes version, release and tag as before, without repo=. On dev, GH_REPO resolved to github.repository already, so nothing changes there.

Public API is unchanged: only internal CI wiring changes (the repo output of the version job and two unreferenced desktop scripts are removed).

@opencode-agent
opencode-agent Bot merged commit ed772f5 into dev Oct 16, 2026
14 checks passed
@opencode-agent
opencode-agent Bot deleted the drop-opencode-beta-repo branch October 16, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant