Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizable separator for the cli tag arg #1330

Open
tateexon opened this issue Mar 20, 2024 · 0 comments
Open

Customizable separator for the cli tag arg #1330

tateexon opened this issue Mar 20, 2024 · 0 comments

Comments

@tateexon
Copy link

Affected Packages

cli

Problem

I would like to use changesets to more cleanly handle golang releases via tags in a mono repo. The only thing I have found stopping me from doing this is that the tags here are not configurable: https://github.com/changesets/changesets/blob/main/packages/cli/src/commands/tag/index.ts#L12-L14
If I could change the ${pkg.packageJson.name}@${pkg.packageJson.version} to be ${pkg.packageJson.name}/v${pkg.packageJson.version} then this would work for me and I could use more of the changeset features that are awesome.

Proposed solution

From the cli allow me to pass some customization filter for monorepos so when I run npx changeset tag < some filter syntax > it would allow a user to change the pattern from @ to /v if wanted.

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

No branches or pull requests

1 participant