1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
<makerelease>
<steps>
<step type="section" title="Update Net::DNS::ZoneFile::Fast" interactive="1">
<text>
If the Net::DNS::ZoneFile::Fast module needs updating this
will let you do it...
</text>
<steps>
<step type="system">
<text>Previous version:</text>
<commands>
<command>grep VERSION Fast.pm</command>
</commands>
</step>
<step type="prompt" prompt="Enter the new Fast.pm VERSION number:"
title="Pick A Fast.pm Version Number"
parameter="FASTVERSION" values="^[\.\d]+$"/>
<step type="modify" title="Modify the Fast module">
<modifications>
<modify
find="(VERSION = ')[\.\d]+"
replace="${1}{FASTVERSION}">
<files>
<file>Fast.pm</file>
</files>
</modify>
</modifications>
</step>
<step type="system" title="Check the version number changes">
<commands>
<command ignoreerror="1">svn diff Fast.pm</command>
</commands>
</step>
<step type="system" title="SVN Commit the changes" interactive="1">
<commands>
<command>svn commit -m "Update Fast.pm Version Number: {FASTVERSION}" Fast.pm</command>
</commands>
</step>
<step type="system" title="Make Test">
<commands>
<command>perl Makefile.PL</command>
<command>make test</command>
</commands>
</step>
<step type="system" title="make dist">
<commands>
<command>make dist</command>
</commands>
</step>
<step type="system" title="upload to cpan">
<commands>
<command>cpan-upload -mailto wjhns117@hardakers.net -user hardaker -verbose Net-DNS-ZoneFile-Fast-{FASTVERSION}.tar.gz</command>
</commands>
</step>
</steps>
</step>
</steps>
</makerelease>
|