Skip to content

Commit

Permalink
prepare for the next devel release with an automatic ChangeLog and co…
Browse files Browse the repository at this point in the history
…rrect dependencies that prevent a release with the old version number

git-svn-id: https://pause.perl.org:5460/svn/cpanpm/trunk@182 81f69c26-07c4-0310-b1c3-f486c8728884
  • Loading branch information
andk committed Oct 20, 2005
1 parent eca9f4b commit 5d03f65
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
inc/Test/Builder.pm
inc/Test/More.pm
ChangeLog
ChangeLog.old
Changes.old
MANIFEST
MANIFEST.SKIP
Expand Down
7 changes: 6 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ WriteMakefile(
(ABSTRACT_FROM => 'lib/CPAN.pm', # retrieve abstract from module
AUTHOR => 'Andreas Koenig <[email protected]>') : ()),
'dist' => {
DIST_DEFAULT => 'setversion README all tardist',
DIST_DEFAULT => 'Makefile setversion README all chlog tardist',
COMPRESS => 'gzip -9f'
},
);
Expand All @@ -94,6 +94,11 @@ README: lib/CPAN.pm Makefile
chmod +w $@
pod2text lib/CPAN.pm > $@
chlog ::
LC_ALL=en_GB.utf8 svn log -v -r `svnversion . | perl -ne '/(?:\d+:)?(\d+)[SM]*$$/&&print $$1'`:1 > ChangeLog
Makefile.PL: $(VERSION_FROM)
touch $@
}
}

Expand Down
3 changes: 2 additions & 1 deletion Todo
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

* ChangeLog needs to be written by svn during make dist, and the
dependencies must care for a rerun of 'perl Makefile.PL' when
CPAN.pm gets edited.
CPAN.pm gets edited. This would be 'svn log -r HEAD:131' for the
ChangeLog, I think.

2005-10-19 Andreas J. Koenig <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion lib/CPAN.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*-
package CPAN;
$VERSION = '1.76_55';
$VERSION = '1.76_56';
$VERSION = eval $VERSION;

use CPAN::Version;
Expand Down

0 comments on commit 5d03f65

Please sign in to comment.