Repository navigation
fix(sync): release tracking finds version tags without the v prefix - #43
Merged
Merged
Conversation
Cella tags its releases as bare versions (0.18.1), so the default upstreamTrack 'release' found no release and analyze and sync failed on every new app. A release tag is now a version with or without the v prefix, for the latest release, a pinned --ref and the published check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pnpm cella analyzeandpnpm cella syncfailed on every new app withno upstream releases (v*) found. Release tracking is the default, it looked forv*tags, and all 60 cella release tags are bare versions (0.18.1,include-v-in-tag: false). raak and projectcampus both setupstreamTrack: 'branch'by hand to get past it.What changes
vprefix. One pattern insrc/utils/git.tsserves the latest release, a pinned--refand the "published upstream" check, which now passes two globs (tags/[0-9]*,tags/v[0-9]*).create-cella-0.2.3) and other namespaces (archive/pre-release) still do not count. Git sorts both above every version tag, and both exist in cella.upstreamTrackdoc no longer say(v*).Checked
--refwhose commit only the tag publishes.pnpm test: 284 passed.pnpm checkclean.pnpm create @cellajs/cella(0.18.1):analyzewith default settings resolves0.18.1and completes.After merge
Release 0.3.3, then cella bumps
@cellajs/cliwith its lockfile. A new app installs from the template's lockfile, so that bump is what delivers the fix.Size
🤖 Generated with Claude Code