NAME

git-tag-version - git command to manage version tags

VERSION

version 1.01

SYNOPSIS

git-tag-version <command> [options...]

It supports the following subcommands:

 commands: list the application's commands
     help: display a command's help screen

changelog: generate a changelog
     last: print last version
     list: print all versions
     next: print next version
      tag: create a new version tag

DESCRIPTION

git-tag-version is a git sub command to manage version tags.

* list all available versions (sorted by version)
* show last version
* show next version
* create a tag for next version
* create a changelog in different styles

INSTALLATION

To install from CPAN:

cpanm Git::TagVersion

EXAMPLES

The git repository has at least one base version:

$ git tag
v3.8.0
v3.8.1

Display available versions:

$ git tag-version list
3.8.1
3.8.0

Display the last version tagged:

$ git tag-version last
3.8.1

Display the next version:

$ git tag-version next
3.8.2

Tag the next version and push it:

$ git tag-version tag -p
tagged v3.8.2

COMMANDS

All commands accept the following options:

-f --fetch           fetch remote refs first
-r --repo            path to git repository
-h -? --usage --help  Prints this usage information.

changelog

Generate a changelog from git logs.

A style for the changelog could be set with:

-s --style           format of changelog

Supported styles are: simple(default), rpm, markdown

last

Show the last tagged version.

list

List all tagged versions.

next

Show next version.

tag

Tag next version.

Options:

-p --push            push new created tag to remote
-m --major           do a (more) major release
--minor              add a new minor version level

AUTHOR

Markus Benning <ich@markusbenning.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Markus Benning <ich@markusbenning.de>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.