Skip to content

feat(tag): CWD-based project resolution + --bump flag#625

Merged
birdmanmandbir merged 4 commits into
mainfrom
feat/tag-bump-cwd
Jun 7, 2026
Merged

feat(tag): CWD-based project resolution + --bump flag#625
birdmanmandbir merged 4 commits into
mainfrom
feat/tag-bump-cwd

Conversation

@birdmanmandbir

@birdmanmandbir birdmanmandbir commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Remove --project flag from ttal tag, resolve from CWD instead. Add --bump <major|minor|patch> for automatic version bumping based on largest existing tag. +suffix (e.g. +0.74.1) is preserved on bump. Positional version arg still works for explicit tags.

…patch bump

- Remove --project flag; resolve project alias from CWD via project.ResolveProjectAlias
- Add --major, --minor, --patch flags for automatic version bumping
- Preserve +suffix (e.g. +0.74.1) from latest tag when bumping
- Positional version arg still works for explicit tags
- Reject pre-release tags for bump (must be vMAJOR.MINOR.PATCH[+suffix])
Replace --major/--minor/--patch with single --bump <major|minor|patch> flag.
Cleaner API, natural mutual exclusion, better naming.
@birdmanmandbir birdmanmandbir changed the title feat(tag): CWD-based project resolution + auto-bump flags feat(tag): CWD-based project resolution + --bump flag Jun 7, 2026
@birdmanmandbir birdmanmandbir merged commit 2a3eb11 into main Jun 7, 2026
6 checks passed
@birdmanmandbir birdmanmandbir deleted the feat/tag-bump-cwd branch June 7, 2026 06:04
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