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

release commit being included as a chore in changelog #209

Open
modbender opened this issue Aug 7, 2024 · 1 comment
Open

release commit being included as a chore in changelog #209

modbender opened this issue Aug 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@modbender
Copy link

modbender commented Aug 7, 2024

Environment

Nuxt project info:

  • Operating System: Linux
  • Node Version: v22.5.1
  • Nuxt Version: 3.12.4
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: pnpm@9.6.0
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Simply run npx changelogen in a repository with an already existing tag.

Describe the bug

release commit being included as a chore when I try to run npx changelogen

## v1.1.2...main
[compare changes](https://github.com/modbender/nuxt-tiptap-editor/compare/v1.1.2...main)
### 🩹 Fixes
- Editor config ([f571e13](https://github.com/modbender/nuxt-tiptap-editor/commit/f571e13))
### 🏡 Chore
- **release:** V1.1.2 ([bcf98ec](https://github.com/modbender/nuxt-tiptap-editor/commit/bcf98ec))
- Upgrade packages ([3dae1e7](https://github.com/modbender/nuxt-tiptap-editor/commit/3dae1e7))
- Formatting, updates & fixes ([2748b38](https://github.com/modbender/nuxt-tiptap-editor/commit/2748b38))
- Add release-it ([f0b79e1](https://github.com/modbender/nuxt-tiptap-editor/commit/f0b79e1))
### ❤️ Contributors
- Modbender

Additional context

No response

Logs

No response

@modbender modbender added the bug Something isn't working label Aug 7, 2024
@modbender
Copy link
Author

modbender commented Aug 7, 2024

This is a required fix for a next step.
I want to use changelogen with release-it to automate publishing packages.

{
  "git": {
    "changelog": "npx changelogen",
    "commitMessage": "chore: release v${version}",
    "requireCleanWorkingDir": true
  },
  "github": {
    "release": true,
    "releaseName": "v${version}"
  },
  "npm": {
    "skipChecks": true
  },
  "plugins": {
    "release-it-pnpm": {
      "inFile": "CHANGELOG.md"
    }
  },
  "hooks": {
    "after:bump": "npx changelogen --output"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant