Skip to content

feat: configurable tag format for version-workspace - #35

Merged
flxapps merged 1 commit into
mainfrom
feat/workspace-tag-format
Jul 22, 2026
Merged

flxapps merged 1 commit into
mainfrom
feat/workspace-tag-format

Conversation

@flxapps

@flxapps flxapps commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

version-workspace hardcodes its tag format to {package}/v{version}. Repos that were previously versioned with melos have tags like my_pkg-v1.2.3, so the tool finds no previous refs there and you have to seed duplicate tags in the new format before it picks anything up.

This adds a --tag-format option that controls both how existing tags are looked up and how new ones are created:

mtrust_api_guard version-workspace --tag-format "{package}-v{version}"

The format must contain {package} and end with {version}. Default stays {package}/v{version}, so nothing changes for existing setups. Tag matching is still lenient about the v prefix, same as before.

Covered by a unit test for the format parsing and an end to end test that versions a workspace against melos style tags.

@github-actions

Copy link
Copy Markdown

Version Analysis

Next Version: 8.1.5

Changelog: 📄 View detailed changelog in job summary

Badge:
Version Badge

@flxapps flxapps self-assigned this Jul 22, 2026
@flxapps
flxapps merged commit 6798ee6 into main Jul 22, 2026
3 checks passed
@flxapps
flxapps deleted the feat/workspace-tag-format branch July 22, 2026 13:12
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