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

Generate Changelog with version from package.json #118

Open
1 task
azat-io opened this issue Jun 10, 2023 · 1 comment
Open
1 task

Generate Changelog with version from package.json #118

azat-io opened this issue Jun 10, 2023 · 1 comment

Comments

@azat-io
Copy link

azat-io commented Jun 10, 2023

Describe the feature

Hi!

I use bumpp to raise the version of my package.

I used conventional-changelog and standard-version for generating changelogs before.

It worked according to the following algorithm:

  1. Files are prepared, tests and builds are run
  2. bumpp updates the version in package.json
  3. standard-version or conventional-changelog generate the changelog from latest version tag to version from package.json
  4. The updated changelog is added to the git
  5. bumpp create commit and tag with new version and push to origin repo

Example of package.json:

{
  "scripts": {
    "release": "pnpm release:check && pnpm release:version && pnpm release:publish",
    "release:changelog": "standard-version --infile changelog.md --same-file --skip.bump --skip.commit --skip.tag",
    "release:check": "pnpm test && pnpm build",
    "release:publish": "clean-publish",
    "release:version": "bumpp package.json --execute=\"pnpm release:changelog && git add changelog.md\" --commit \"build: publish v%s\" --tag --all",
  }
}

I would like to be able to generate changelogs without creating a tag and getting a new version from package.json

Additional information

  • Would you be willing to help implement this feature?
@pi0
Copy link
Member

pi0 commented Jun 12, 2023

Hi. Would using --bump --no-tag --no-commit make sense to you?

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