custom-angular-pom preset
This preset extends the angular preset, and uses the data available in the pom.xml
file of your project.
It is meant to be used with the conventional-changelog-cli to generate a CHANGELOG from the command line.
Installation
$ npm install -g conventional-changelog-cli conventional-changelog-custom-angular-pom
Usage
$ conventional-changelog -p custom-angular-pom -r 0
Some commits can be ignored with the CHANGELOG_IGNORE_BEFORE
parameter:
CHANGELOG_IGNORE_BEFORE=2017-01-01 conventional-changelog -p custom-angular-pom -r 0
Example
<!-- pom.xml --> 4.0.0 <!-- ... --> 0.0.3-SNAPSHOT https://gitlab.company.com/my-team/awesome-project.git https://jira.company.com/projects/AWSP/issues
$ git log --decorate commit b42be2d feat: add new awesome feature commit 14e2cf9 fix: fix some thing commit 0d655f4 docs: write some doc commit e106726 feat: first commit Closes #1 Closes #2
$ conventional-changelog -p custom-angular-pom -r 0
Result:
0.0.3-SNAPSHOT (2017-01-03)
Features
- add new awesome feature (b42be2d)
0.0.2 (2017-01-02)
Bug Fixes
- fix some thing (14e2cf9)
0.0.1 (2017-01-01)
Features
Partner
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.