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

Skip pre-release versions when generating proper version #87

Open
haukurmar opened this issue Apr 18, 2024 · 0 comments
Open

Skip pre-release versions when generating proper version #87

haukurmar opened this issue Apr 18, 2024 · 0 comments

Comments

@haukurmar
Copy link

I've been looking everywhere for a solution but don't seem to find a solution.

My scenario.

I have a library that generates a changelog on every version, but when I merge to master and release from there. I want the "real" changelog to only show the proper versions, i.e. not include versions like "0.3.0-feature-some-ui-feature.0" or "0.3.0-beta.0".

I even have a separate pre-release config file where I pass in the basefile's plugin, and I don't want to stop using those plugins.

Any way to configure this?

module.exports = { plugins: { ...baseFile.plugins }, ..... }

Basefile:
module.exports = { plugins: { "@release-it/conventional-changelog": { path: ".", infile: "CHANGELOG.md", preset: "conventionalcommits", gitRawCommitsOpts: { path: ".", }, }, }, .... }

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