Last set of updates.
[freeradius.git] / doc / release-method.txt
1 #  This is NOT a shell script!
2
3 #
4 #  For version 0.7 (or any others), this file documents the methods
5 #  used by the developers to perform a release of the software.
6 #
7 #  If you're not a developer, then you can ignore this file.
8 #
9 #
10 VERSION=0
11 REVISION=7
12
13 # cvs -d :pserver:USER@cvs.freeradius.org:/source checkout -P -d freeradius-$(VERSION).$(REVISION) radiusd
14 cvs -d :pserver:USER@cvs.freeradius.org:/source checkout -P -d freeradius-0.7 radiusd
15
16 #
17 #  Do NOT type 'configure', 'make', or anything else.
18 #  We presume that 
19 #
20 # cd freeradius-$(VERSION).$(REVISION)
21 cd freeradius-0.7
22
23 #
24 #  remove $$ surrounding the $Date ... $
25 #  add any last-minute notes
26 #
27 vi doc/ChangeLog
28
29 #
30 #  Commit it.
31 #
32 cvs commit doc/ChangeLog
33
34 #
35 #  Change version/revision numbers
36 #
37 vi configure.in
38
39 #
40 #  Re-build and commit the configure script
41 #
42 autoconf
43 cvs commit configure configure.in
44
45 #
46 #  tag the files for the release
47 #
48 # cvs tag release_$(VERSION)_$(REVISION)_0
49 cvs tag release_0_7_0
50
51 #
52 #  Delete the CVS directories.
53 #
54 rm -rf `find . -name CVS -print`
55
56 #
57 #  Delete any temporary files.
58 #
59 rm -f `find . -name "*~" -print`
60
61 #
62 #  Visually inspect the source, to be sure it's clean.
63 #
64
65 cd ..
66
67 # tar -zcf freeradius-$(VERSION).$(REVISION).tar.gz freeradius-$(VERSION).$(REVISION)
68 tar -zcf freeradius-0.7.tar.gz freeradius-0.7
69
70 #
71 #  These next steps presume you have an account on the main
72 #  FreeRADIUS web server.
73 #
74 scp freeradius-0.7.tar.gz ...freeradius.org
75
76 # move the archive to ftp 'pub/radius' directory
77
78 # move the previous version to the 'old' directory
79 mv freeradius-0.6.tar.gz old
80
81 #
82 #  delete the old soft link.
83 #
84 rm freeradius.tar.gz
85
86 #
87 #  link the new version to it's simple name
88 #
89 ln -s freeradius-0.7.tar.gz freeradius.tar.gz     
90
91 # go to the www directory
92
93 #
94 #  Ensure that the source archive on the web is updated.
95 # cvs update -APd radiusd
96
97 # edit index.html, and add in the release notes under 'news'
98 # edit getting.html, and update notes about current/old releases.
99
100 # on your work machine again,
101 rm -rf freeradius-0.7.tar.gz freeradius-0.7
102
103 # go to your working directory
104 # edit configure.in, to bump the version to '0.8-pre'
105 autoconf
106 cvs commit configure configure.in
107
108 cd doc
109
110 #
111 #  Add in notes about next release, in preparation for more change log notes.
112 #
113 vi ChangeLog
114 cvs commit ChangeLog