Skip to content

fix: Skip opencode upgrade if same version#720

Merged
thdxr merged 1 commit into
anomalyco:devfrom
ll931217:skip-upgrade
Jul 7, 2025
Merged

fix: Skip opencode upgrade if same version#720
thdxr merged 1 commit into
anomalyco:devfrom
ll931217:skip-upgrade

Conversation

@ll931217
Copy link
Copy Markdown
Contributor

@ll931217 ll931217 commented Jul 6, 2025

Currently, upgrading OpenCode would redownload the latest executable file even if the version number is the same as the one installed. This PR makes the code return early, it should work with latest version and targetted versions.

image

@thdxr thdxr merged commit 2446483 into anomalyco:dev Jul 7, 2025
thdxr pushed a commit that referenced this pull request Jul 7, 2025
@ll931217 ll931217 deleted the skip-upgrade branch July 9, 2025 02:25
achembarpu pushed a commit to achembarpu/opencode that referenced this pull request Aug 4, 2025
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
bussard76 pushed a commit to bussard76/openwork that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants