Comments (5)
By convention I expect this to be commitPath
from conventional-changelog.
Hi @webpro,
Thanks for getting back to me.
I've also tried with commitPath
without any effect. My release script looks as follows:
...
"release": "release-it %npm_package_version% --dry-run --no-increment -r 0 --verbose --no-git.requireCleanWorkingDir",
...
And my .release-it.json config looks as follows:
{
"git": {
"tag": true,
"tagName": "${version}",
"tagAnnotation": "Release ${version}",
"tagArgs": "",
"push": true,
"commit": true,
"pushRepo": "origin"
},
"github": {
"version": "${version}",
"release": true,
"preRelease": false
},
"hooks": {
"before:init": [
"npm run build:prod"
],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"npm": {
"publish": true,
"private": true,
"registry": "OMITTED"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md",
"outfile": "CHANGELOG.md",
"commitPath": "./src"
}
}
}
The generated changelog and release notes contain at least 2 entries with features (feat) that comes from other folders than the ./src-folder.
from conventional-changelog.
I don't know conventional-changelog
that well. I suggest to look into their docs/source code (the programmatic API, not the CLI) to see what options/arguments it takes.
Note that a dry run does not write anything.
from conventional-changelog.
Closing due to inactivity.
from conventional-changelog.
remove the "./" prefix of your path and it should work :)
from conventional-changelog.
Related Issues (20)
- Duplicated `# Changelog` header in the updated `infile` HOT 1
- Can remove duplicated title in releases and tag, it's not beautiful
- Bumping up the conventional-recommended-bump to address CVE-2021-23425 HOT 1
- Missing separator (newline) when prepending content in changelog file HOT 4
- @release-it/conventional-changelog - Option for no change log HOT 6
- Semver is not declared in dependencies HOT 4
- The "hidden" property doesn't work HOT 3
- npm audit issue HOT 2
- Build error in react-native projects HOT 1
- conventionalcommits types use same heading level as new version HOT 5
- angular preset ignores Url formats HOT 2
- Chagelog format conflicts with Prettier HOT 5
- Full history not being added without infile HOT 2
- Incorrect bump version HOT 13
- The recommended bump is "undefined" HOT 3
- origin vs upstream changelog HOT 2
- Aggregate all the pre releases HOT 1
- Option to edit the changelog while releasing HOT 4
- Update conventional-changelog Dependency to Support Changelog Section Sort Order HOT 5
- Update peer deps to `release-it` v16 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conventional-changelog.