Skip to content

fix(ci): sync-upstream prefers stable releases over prereleases#70

Merged
JOY (JOY) merged 2 commits into
mainfrom
fix/sync-prefer-stable
May 23, 2026
Merged

fix(ci): sync-upstream prefers stable releases over prereleases#70
JOY (JOY) merged 2 commits into
mainfrom
fix/sync-prefer-stable

Conversation

@JOY
Copy link
Copy Markdown

Change

Mirror of the DOScan-Frontend fix (#6). Tag selection now prefers the newest stable release (no - suffix), falls back to newest non-alpha prerelease only if no stable exists, and never auto-syncs -alpha.

Impact on backend

blockscout/blockscout currently publishes only stable vX.Y.Z tags, so selection is unchanged (still picks v11.0.3). This is a hardening / consistency change so the two repos share identical sync logic and the backend won't accidentally pull a prerelease if upstream ever tags one.

Verified locally

OLD and NEW both pick v11.0.3. YAML validated.

Consistency with the frontend fix: select the newest STABLE release
(no -alpha/-beta/-rc suffix), falling back to the newest non-alpha
prerelease only when no stable exists. The backend currently only has
stable tags so behavior is unchanged (still v11.0.3), but this hardens
the selection against any future prerelease tags upstream might publish.
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@JOY JOY (JOY) merged commit c84fb6d into main May 23, 2026
4 checks passed
@JOY JOY (JOY) deleted the fix/sync-prefer-stable branch May 23, 2026 17:15
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.

1 participant