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

How to add package name to tag? #169

Open
gzf6 opened this issue Jan 18, 2024 · 3 comments
Open

How to add package name to tag? #169

gzf6 opened this issue Jan 18, 2024 · 3 comments

Comments

@gzf6
Copy link

gzf6 commented Jan 18, 2024

The current tag only has the version number. I hope the tag contains the package name.

@gzf6
Copy link
Author

gzf6 commented Jan 19, 2024

I found that the tag template can be modified in changelog.config, but I don’t know what the placeholder for package name is? Does anyone know?

Snipaste_2024-01-19_14-11-56

@NamesMT
Copy link

NamesMT commented Jan 22, 2024

Hello @gzf6 ,
Seems like the only available template variable is {newVersion}

See here: https://github.com/unjs/changelogen/blob/main/src/commands/default.ts#L121

@gzf6
Copy link
Author

gzf6 commented Jan 22, 2024

Hello @gzf6 , Seems like the only available template variable is {newVersion}

See here: https://github.com/unjs/changelogen/blob/main/src/commands/default.ts#L121

Thanks, it seems I can only use fixed names in templates now

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

2 participants