Point to correct places
[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 #  Create a branch for the release
25 #
26 cvs tag -b branch_0_7
27
28 #
29 #  Mark all of the files to be for the branch
30 #
31 cvs update -rbranch_0_7
32
33 #
34 #  remove $$ surrounding the $Date ... $
35 #  add any last-minute notes
36 #
37 vi doc/ChangeLog
38
39 #
40 #  Commit it (to the branch)
41 #
42 cvs commit doc/ChangeLog
43
44 #
45 #  Change version/revision numbers
46 #
47 vi configure.in
48 vi redhat/freeradius.spec
49 vi suse/freeradius.spec
50 vi debian/changelog
51 vi debian/rules
52
53 #
54 #  Re-build and commit the configure script
55 #  Be sure this is autoconf 2.1x, not 2.5x
56 autoconf
57 cvs commit configure configure.in redhat/freeradius.spec suse/freeradius.spec debian/changelog debian/rules
58
59 #
60 #  tag the files for the release,
61 #  which is a POINT release of the main release.
62 #
63 #  i.e. We may way a 0.7.1 release later, which will
64 #  be tagged 'release_0_7_1' on the branch for 0.7,
65 #  which is called 'branch_0_7'.
66 #
67 # cvs tag release_$(VERSION)_$(REVISION)_0
68 cvs tag release_0_7_0
69
70 #
71 #  Delete the CVS directories.
72 #
73 rm -rf `find . -name CVS -print`
74
75 #
76 #  Delete any temporary files.
77 #
78 rm -f `find . -name "*~" -print`
79
80 #
81 #  Visually inspect the source, to be sure it's clean.
82 #
83
84 cd ..
85
86 # tar -zcf freeradius-$(VERSION).$(REVISION).tar.gz freeradius-$(VERSION).$(REVISION)
87 tar -zcf freeradius-0.7.tar.gz freeradius-0.7
88
89 #
90 #  Sign the archive.
91 #
92
93 #
94 #  These next steps presume you have an account on the main
95 #  FreeRADIUS web server.
96 #
97 scp freeradius-0.7.tar.gz ...freeradius.org
98
99 # move the archive to ftp 'pub/radius' directory
100
101 # move the previous version to the 'old' directory
102 mv freeradius-0.6.tar.gz old
103
104 #
105 #  delete the old soft link.
106 #
107 rm freeradius.tar.gz
108
109 #
110 #  link the new version to it's simple name
111 #
112 ln -s freeradius-0.7.tar.gz freeradius.tar.gz     
113
114 # go to the www directory
115
116 #
117 #  Ensure that the source archive on the web is updated.
118 # cvs update -APd radiusd
119
120 # edit index.html, and add in the release notes under 'news'
121 # edit getting.html, and update notes about current/old releases.
122
123 # on your work machine again,
124 rm -rf freeradius-0.7.tar.gz freeradius-0.7
125
126 # go to your working directory
127 # edit configure.in, to bump the version to '0.8-pre'
128 autoconf
129 cvs commit configure configure.in
130
131 cd doc
132
133 #
134 #  Add in notes about next release, in preparation for more change log notes.
135 #
136 vi ChangeLog
137 cvs commit ChangeLog