<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>
