Commits

Anonymous committed 9e0dbea

Bump the version number and add the tag-release.pl script.

Comments (0)

Files changed (6)

modules/App-XML-DocBook-Docmake/Changes

-0.0300
+0.0300  Wed Apr 20 09:05:51 IDT 2011
         - Add support for the xhtml-1_1 mode.
 
 0.0201  Tue Jun 30 15:43:00 IDT 2009

modules/App-XML-DocBook-Docmake/MANIFEST

 script/docmake
 t/00-load.t
 t/01-use.t
+tag-release.pl
 t/boilerplate.t
 t/pod-coverage.t
 t/pod.t

modules/App-XML-DocBook-Docmake/META.yml

 provides:
   App::XML::DocBook::Builder:
     file: lib/App/XML/DocBook/Builder.pm
-    version: 0.0201
+    version: 0.0300
   App::XML::DocBook::Docmake:
     file: lib/App/XML/DocBook/Docmake.pm
-    version: 0.0201
+    version: 0.0300
   App::XML::DocBook::Docmake::CmdComponent:
     file: lib/App/XML/DocBook/Docmake.pm
 requires:
   homepage: http://www.shlomifish.org/open-source/projects/docmake/
   license: http://www.opensource.org/licenses/mit-license.php
   repository: http://svn.berlios.de/svnroot/repos/web-cpan/App-XML-DocBook-Docmake/
-version: 0.0201
+version: 0.0300

modules/App-XML-DocBook-Docmake/lib/App/XML/DocBook/Builder.pm

 
 =head1 VERSION
 
-Version 0.0201
+Version 0.0300
 
 =cut
 
-our $VERSION = '0.0201';
+our $VERSION = '0.0300';
 
 =head1 SYNOPSIS
 

modules/App-XML-DocBook-Docmake/lib/App/XML/DocBook/Docmake.pm

 
 =head1 VERSION
 
-Version 0.0201
+Version 0.0300
 
 =cut
 
 use vars qw($VERSION);
 
-$VERSION = "0.0201";
+$VERSION = "0.0300";
 
 __PACKAGE__->mk_accessors(qw(
     _input_path

modules/App-XML-DocBook-Docmake/tag-release.pl

+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use IO::All;
+
+my ($version) = 
+    (map { m{\$VERSION *= *'([^']+)'} ? ($1) : () } 
+    io->file("./lib/App/XML/DocBook/Docmake.pm")->getlines()
+    )
+    ;
+
+if (!defined ($version))
+{
+    die "Version is undefined!";
+}
+
+my $mini_repos_url = "https://svn.berlios.de/svnroot/repos/web-cpan/App-XML-DocBook-Docmake/";
+
+my @cmd = (
+    "svn", "copy", "-m",
+    "Tagging App-XML-DocBook-Docmake as $version",
+    "$mini_repos_url/trunk",
+    "$mini_repos_url/tags/cpan-releases/$version",
+);
+
+print join(" ", map { /\s/ ? qq{"$_"} : $_ } @cmd), "\n";
+exec(@cmd);