NAME

VERSION

version 2.046

DESCRIPTION

This role is used within the Git plugins to format strings that may include the changes from the current release.

These formatting codes are available:

%c

The list of changes in the just-released version (read from changelog). It will include lines between the current version and timestamp and the next non-indented line, except that blank lines at the beginning or end are removed. It always ends in a newline unless it is the empty string.

%{dd-MMM-yyyy}d

The current date. You can use any CLDR format supported by DateTime. A bare %d means %{dd-MMM-yyyy}d.

%n

a newline

%N

the distribution name

%{-TRIAL}t

Expands to -TRIAL (or any other supplied string) if this is a trial release, or the empty string if not. A bare %t means %{-TRIAL}t.

%v

the distribution version

%V

The distribution version, but with a leading v removed if it exists.

ATTRIBUTES

changelog

The filename of your Changes file. (Must be provided by the class that consumes this role.)

As a valued partner and proud supporter of MetaCPAN, StickerYou is
happy to offer a 10% discount on all Custom Stickers,
Business Labels, Roll Labels,
Vinyl Lettering or Custom Decals. StickerYou.com
is your one-stop shop to make your business stick.
Use code METACPAN10 at checkout to apply your discount.