Hi! Please consider following me on twitter: @hanekomu.
2008年07月26日
Keeping the changelog and module versions in sync
I've reverted all of my distributions back to a relatively normal style.
That is, I'm no longer generating the POD during make time. Other
people generally didn't like it, and while it was convenient, it added an extra
layer of complexity and had quite a few prerequisites.
I've also reverted all the Changes files from YAML back to
plain text. Because this is still very much structured, it can be converted
between YAML and plain text fairly easily using Module::Changes.
The working style I've adopted right now is to record changes in the
Changes file and defining a new version there without changing the
$VERSION variable in every module. So I wrote a script that keeps
the moduiles' version number in sync.
The script is on CodeRepos
and will be released to CPAN as part of Dist-Joseki at some point.
You can either tell it to use a given version number: version -v
1.23, or to use the most recent version mentioned in the
Changes file using version -c. It will go through all
files in the distribution and update every $VERSION line it
finds.
posted at: 00:52 | path: /dev | permalink | 0 comments | 0 trackbacks
Comments are closed for this story.
Trackbacks are closed for this story.