From b1465ed964921049201ea9e103a871d57e5d7194 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 16 Dec 2004 12:50:43 +0000 Subject: - add tag command --- Makefile.PL | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index 42c0140..07dfa6f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,6 +7,10 @@ use MDK::Common qw(cat_); (my $rpmtools_version) = cat_('rpmtools.spec') =~ /define\s+version\s+(\d+\.\d+\.\d+)/ or die "no version found\n"; + +my $tag_version = "v$rpmtools_version"; +$tag_version =~ s/\./_/g; + sub MY::postamble { <