Skip to main content

Simple git changelog file generator

Project description

simple-git-changelog

PyPI - Status PyPI GitHub PyPI - Python Version

simple-git-changelog is a command-line tool for creating and updating a git project's changelog file.

Links

Create the Changelog File

To create your project's changelog file, run simple-git-changelog in your project's root directory:

$ simple-git-changelog

By default, the "CHANGELOG.md" file is created with your project's changes. For example:

# Changelog

## 2021-04-30

- [abcdf0](https://github.com/username/project-name/commit/abcdf0) most recent change

- [abcdef](https://github.com/username/project-name/commit/abcdef) previous change

Edit "CHANGELOG.md" as appropriate and commit. Changes to the changelog title are maintained across updates.

Update the Changelog File

To update your changelog file, simply run simple-git-changelog again. Change items for new git changes are added to the top of the changelog:

# MyProject Changelog

## 2021-05-01

- [abcdf1](https://github.com/username/project-name/commit/abcdf1) one more thing

## 2021-04-30

- [abcdf0](https://github.com/username/project-name/commit/abcdf0) most recent change

- [abcdef](https://github.com/username/project-name/commit/abcdef) previous change

Usage

usage: simple-git-changelog [-h] [-o FILE]

options:
  -h, --help  show this help message and exit
  -o FILE     specify the change log file (default is "CHANGELOG.md")

Development

This package is developed using python-build. It was started using python-template as follows:

template-specialize python-template/template/ simple-git-changelog/ -k package simple-git-changelog -k name 'Craig A. Hobbs' -k email 'craigahobbs@gmail.com' -k github 'craigahobbs' -k noapi 1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple-git-changelog-1.1.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

simple_git_changelog-1.1.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page