LCFG-Build-Tools

 view release on metacpan or  search on metacpan

bin/lcfg-reltool  view on Meta::CPAN

use strict;
use warnings;

# $Id: lcfg-reltool.in 35358 2019-01-15 16:54:36Z squinney@INF.ED.AC.UK $
# $Source: /var/cvs/dice/LCFG-Build-Tools/bin/lcfg-reltool.in,v $
# $Revision: 35358 $
# $HeadURL: https://svn.lcfg.org/svn/source/tags/LCFG-Build-Tools/LCFG_Build_Tools_0_9_30/bin/lcfg-reltool.in $
# $Date: 2019-01-15 16:54:36 +0000 (Tue, 15 Jan 2019) $

our $VERSION = '0.9.30';

use LCFG::Build::Tools;

LCFG::Build::Tools->run;

__END__

=head1 NAME

lcfg-reltool - LCFG source release control tool

=head1 VERSION

This documentation refers to lcfg-reltool version 0.9.30

=head1 SYNOPSIS

    lcfg-reltool release --dir ~/cvs/lcfg-foo

    lcfg-reltool minorversion --quiet

    lcfg-reltool rpm

=head1 DESCRIPTION

=head1 COMMANDS

There are two built-in commands:

=over

=item help [command name]

If you call the C<help> command with no arguments it will list all the
supported commands. If you also specify a particular command name it
will show all the available command-line options for that specfic
command.

=item commands

This command gives a list of all available commands.

=back

The following commands are each implemented with a separate Perl
module. For full documentation you need to read the perldoc for the
specific module. They are all in the C<LCFG::Build::Tool> namespace.

=over

=item checkmacros - L<LCFG::Build::Tool::CheckMacros>

Checks the usage of substitution macros in your project.

=item release - L<LCFG::Build::Tool::MicroVersion>

Increment by one the third (smallest) part of the version field and
tag the project. This will also reset the release field to 1. For
example, version 1.2.3 would become 1.2.4 and the release field would
go from 5 to 1.

=item minorversion - L<LCFG::Build::Tool::MinorVersion>

Increment by one the second (middle) part of the version and tag the
project.  This will also reset the third part of the version to 0
(zero) and the release field to 1. For example, version 1.2.3 would
become 1.3.0 and the release field would go from 5 to 1.

=item majorversion - L<LCFG::Build::Tool::MajorVersion>

Increment by one the first (largest) part of the version and tag the
project. This will also reset the second and third parts of the
version to 0 (zero) and the release field to 1. For example, version
1.2.3 would become 2.0.0 and the release field would go from 5 to 1.

=item devpack - L<LCFG::Build::Tool::DevPack>

Builds a gzipped source tar file from the development source tree for
the project. This will include all local files which have been added
to the specified working directory for the project.

=item pack - L<LCFG::Build::Tool::Pack>

Builds a gzipped source tar file from the tagged source tree which
matches the version specified in the LCFG build tools metadata file,
C<lcfg.yml>, in the specified working directory.

=item devrpm - L<LCFG::Build::Tool::DevRPM>

Builds a gzipped source tar file, source RPM and binary RPMs from the
development source tree for the project. This will include all local
files which have been added to the specified working directory for the
project.

=item rpm - L<LCFG::Build::Tool::RPM>

Builds a gzipped source tar file, source RPM and binary RPMs from the
tagged source tree which matches the version specified in the LCFG
build tools metadata file, C<lcfg.yml>, in the specified working
directory.

=item srpm - L<LCFG::Build::Tool::SRPM>

Builds a gzipped source tar file and source RPM from the tagged source
tree which matches the version specified in the LCFG build tools
metadata file, C<lcfg.yml>, in the specified working directory.

=item ospkg - L<LCFG::Build::Tool::OSXPkg>

Builds a gzipped source tar file and binary MacOSX packages from the
tagged source tree which matches the version specified in the LCFG



( run in 1.533 second using v1.01-cache-2.11-cpan-39bf76dae61 )