Skip to content

ci: bump canary when the package version is already published - #76

Merged
bntvllnt merged 1 commit into
mainfrom
ci/canary-bump-if-published
Nov 19, 2026
Merged

bntvllnt merged 1 commit into
mainfrom
ci/canary-bump-if-published

Conversation

@bntvllnt

Copy link
Copy Markdown
Owner

Summary

Canaries must sort above the current stable.

If package.json still matches npm latest, or that exact version is already on the registry, the publish workflow increments the patch and publishes BASE-canary.<sha>. The canary job also runs when package.json itself changes.

This does not publish a stable release or move the latest dist-tag. The canary version form stays X.Y.Z-canary.<sha>.

If package.json still matches npm latest, or that exact version is already on the registry, increment the patch and publish BASE-canary.<sha> so the canary always sorts above the current stable. Also run the canary job when package.json itself changes.
@github-actions

Copy link
Copy Markdown
Contributor

Codebase Intelligence CI

Verdict: PASS
Base: origin/main
Mode: new-only
Changed workspaces: 0 workspace(s); 0 changed since origin/main; 0 cross-package cycle(s).

Gate Verdict Summary
check pass 0 error(s), 0 warning(s) — PASS
health pass Health 67.00/0 pass; top risk src/analyzer/index.ts (86.18).

Codebase Intelligence

Verdict: PASS
Summary: 0 error(s), 0 warning(s) — PASS

No findings.

@bntvllnt
bntvllnt merged commit f7bf0c4 into main Nov 19, 2026
9 checks passed
@bntvllnt
bntvllnt deleted the ci/canary-bump-if-published branch November 19, 2026 16:08
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