Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/roshanca/autochangelog

A very lightweight command line tool for generating a changelog from git tags and commit history
https://github.com/roshanca/autochangelog

Last synced: 6 days ago
JSON representation

A very lightweight command line tool for generating a changelog from git tags and commit history

Awesome Lists containing this project

README

        

# AutoChangeLog

[![npm package](https://img.shields.io/npm/v/autochangelog.svg?style=flat-square)](https://www.npmjs.org/package/autochangelog)
[![dependency status](https://img.shields.io/david/roshanca/gitlab-autochangelog.svg?style=flat-square)](https://david-dm.org/roshanca/gitlab-autochangelog)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
[![autochangelog happy](https://img.shields.io/badge/autochangelog-happy-yellow.svg?style=flat-square)](https://github.com/roshanca/autochangelog)
![NPM](https://img.shields.io/npm/l/autochangelog?style=flat-square)

A very lightweight command line tool for generating a changelog from git tags and commit history.

[![autochangelog](https://nodei.co/npm/autochangelog.png?downloads=true 'autochangelog')](https://nodei.co/npm/autochangelog)

## Installation

```
$ npm install -g autochangelog
```

## Usage

Run command below in the root directory of your git project directly.

```
$ autochangelog
```

Get more helps:

```
$ autochangelog -h
```

```
Usage: autochangelog [options]

Options:
-v, --version output the version number
-o, --output output file (default: "CHANGELOG.md")
-l, --commit-limit number of commits to display per release (default: 5)
-c, --version-limit number of version to release (default: 20)
--no-date remove date
--no-group Do not group the commit history base on Conventional Commits for commit guidelines
--filter filter commit by given reg pattern, for example: "^(new|fix(e(d|s))?)$"
-h, --help output usage information
```

## Happy with AutoChangeLog?

Add the badge to your README using the following markdown:

```
[![autochangelog happy](https://img.shields.io/badge/autochangelog-happy-yellow.svg?style=flat-square)](https://github.com/roshanca/autochangelog)
```

## License

MIT license (© 2020 Roshan Wu)