File: makerelease.xml

package info (click to toggle)
dnssec-tools 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 16,064 kB
  • sloc: perl: 44,399; ansic: 31,547; cpp: 21,306; sh: 15,813; xml: 2,113; makefile: 1,390; pascal: 836; python: 290; csh: 11
file content (65 lines) | stat: -rw-r--r-- 1,681 bytes parent folder | download | duplicates (2)
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>