Project

changi

0.0
No commit activity in last 3 years
No release in over 3 years
Manages a set of changelog entries for you and combines them to a changelog file when you release.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.7
~> 10.4
 Project Readme

Changi

Very tiny.

Helps you maintain a changelog.md without constant merge conflicts.

Installation

Add this to your Rakefile:

require 'changi/tasks'

Usage

Adding a new changelog entry for the next release

rake changi:new

Follow the questions.

Viewing the changelog for the upcoming release.

rake changi:diff

Prepending changelog entries to main changelog.md file.

rake changi:update

This will build a release changelog from your entries and prepend that to your main changelog.md file.

It will also try to git rm changelog entry files.

Default changelog format looks like this:

# <release no.>, <date>[, <release notes>]

## <category>

* entry
* entry

## <category 2>

...

Configuration

A Tiny bit of configuration can be done using our most convenient configuration method:

# Rakefile (or wherever)
require 'changi'
Changi.configure do |config|
  config.changelog_path = 'changelog.md'
  config.changelog_entry_path = 'changelog'
  config.default_categories = []
end

For more customization, please refer to the code. There's ways to change entry attributes, the changelog template, the way the main changelog is updated, etc.