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 (152 lines) | stat: -rw-r--r-- 4,250 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!-- this is a makerelease script: http://github.com/hardaker/makerelease -->
<makerelease>
  <steps>
    <step type="section" name="setup" title="Initial release setup"
	  pause="0" mandatory="1" prompt="no">
      <text>
	These steps bootstap the validator release setup.
      </text>
      <steps>

	<step type="prompt" name="VersionNumber" title="Select a Version Number"
	      mandatory="1"
	      parameter="VERSION"
	      prompt="Enter the version number for the release:">
	  <text>
	    Select a version number to use for the release.
	  </text>
	</step>

	<step type="Informational" name="setup:check" title="Check these results"
	      pause="1" mandatory="1">
	  <text>
	    Check that these settings are correct:

               Version Number:  {VERSION}
	  </text>
	</step>
      </steps>
    </step>

    <step type="section" name="changelog" title="Create the ChangeLog"
	  pause="1" mandatory="0" prompt="yes">
      <text>
	We'll create the ChangeLog file from the svn log.
      </text>
      <steps>
	<step type="command" name="changelog:create-file" title="Create the ChangeLog File"
	      pause="0" mandatory="0">
	  <text>
	    Create the change log file from 'svn log'
	  </text>
	  <commands>
	    <command>svn log > ChangeLog</command>
	  </commands>
	</step>

	<step type="command" name="changelog:commit" title="Commit the ChangeLog to the repository"
	      pause="0" mandatory="0">
	  <text>
	    We'll now commit the changelog to the repository.
	  </text>
	  <commands>
	    <command>svn commit -m "updated the validator ChangeLog for {VERSION}" ChangeLog</command>
	    
	  </commands>
	</step>


      </steps>
    </step>


    <step type="section" name="tagandtar" title="Tag and tar the sources"
	  pause="0" mandatory="0" prompt="yes">
      <text>
	These next steps tag and tar the release together.
      </text>
      <steps>
	
	<step type="command" name="tagandtar:tag" title="Tag it"
	      pause="0" mandatory="0">
	  <text>
	    tags the release in svn
	  </text>
	  <commands>
	    <command>svn copy -m "tag of version dnsval-{VERSION}" https://www.dnssec-tools.org/svn/dnssec-tools/trunk/dnssec-tools/validator https://www.dnssec-tools.org/svn/dnssec-tools/tags/dnsval-{VERSION}</command>
	  </commands>
	</step>

	<step type="command" name="tarandtag:export" title="Export the results into a directory"
	      pause="0" mandatory="0">
	  <text>
	    SVN Export the newly tag release
	  </text>
	  <commands>
	    <command>svn export  https://www.dnssec-tools.org/svn/dnssec-tools/tags/dnsval-{VERSION} dnsval-{VERSION}</command>
	  </commands>
	</step>

	<step type="command" name="tagandtar:createSources" title="Create the tar and zip files"
	      pause="0" mandatory="0">
	  <text>
	    Create the tar and zip files
	  </text>
	  <commands>
	    <command>tar czf dnsval-{VERSION}.tar.gz dnsval-{VERSION}</command>
	    <command>zip -r dnsval-{VERSION}.zip dnsval-{VERSION}</command>
	  </commands>
	</step>

	<step type="Informational" name="tagandtar:upload" title="Upload the source"
	      pause="1" mandatory="0">
	  <text>
	    The following files need to be copied to the download folder on
            the website:

	        dnsval-{VERSION}.tar.gz

	        dnsval-{VERSION}.zip
	  </text>
	</step>
      </steps>
    </step>

    <step type="section" name="advertise" title="Advertise the results"
	  pause="0" mandatory="0" prompt="no">
      <text>
	Advertise the results in various places
      </text>
      <steps>

	<step type="Informational" name="advertise:download" title="Update the download list"
	      pause="1" mandatory="0">
	  <text>
	    Update the download list if it's not updated automatically.
	  </text>
	</step>


	<step type="Informational" name="advertise:users" title="Send a note to dnssec-tools-users"
	      pause="1" mandatory="0">
	  <text>
	    Send a note announcing the release to dnssec-tools-users.
	  </text>
	</step>

	<step type="command" name="advertise:freshmeat" title="Update freshmeat"
	      pause="1" mandatory="0">
	  <text>
	    Update the freshmeat entry for the project
	  </text>
	  <commands>
	    <command>firefox http://www.freshmeat.net/</command>
	  </commands>
	</step>

	
      </steps>
    </step>

  </steps>
</makerelease>