1 # This is NOT a shell script!
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.
7 # If you're not a developer, then you can ignore this file.
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
17 # Do NOT type 'configure', 'make', or anything else.
20 # cd freeradius-$(VERSION).$(REVISION)
24 # Create a branch for the release
29 # Mark all of the files to be for the branch
31 cvs update -rbranch_0_7
34 # remove $$ surrounding the $Date ... $
35 # add any last-minute notes
40 # Commit it (to the branch)
42 cvs commit doc/ChangeLog
45 # Change version/revision numbers
48 vi redhat/freeradius.spec
49 vi suse/freeradius.spec
54 # Re-build and commit the configure script
55 # Be sure this is autoconf 2.1x, not 2.5x
57 cvs commit configure configure.in redhat/freeradius.spec suse/freeradius.spec debian/changelog debian/rules
60 # tag the files for the release,
61 # which is a POINT release of the main release.
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'.
67 # cvs tag release_$(VERSION)_$(REVISION)_0
71 # Delete the CVS directories.
73 rm -rf `find . -name CVS -print`
76 # Delete any temporary files.
78 rm -f `find . -name "*~" -print`
81 # Visually inspect the source, to be sure it's clean.
86 # tar -zcf freeradius-$(VERSION).$(REVISION).tar.gz freeradius-$(VERSION).$(REVISION)
87 tar -zcf freeradius-0.7.tar.gz freeradius-0.7
94 # These next steps presume you have an account on the main
95 # FreeRADIUS web server.
97 scp freeradius-0.7.tar.gz ...freeradius.org
99 # move the archive to ftp 'pub/radius' directory
101 # move the previous version to the 'old' directory
102 mv freeradius-0.6.tar.gz old
105 # delete the old soft link.
110 # link the new version to it's simple name
112 ln -s freeradius-0.7.tar.gz freeradius.tar.gz
114 # go to the www directory
117 # Ensure that the source archive on the web is updated.
118 # cvs update -APd radiusd
120 # edit index.html, and add in the release notes under 'news'
121 # edit getting.html, and update notes about current/old releases.
123 # on your work machine again,
124 rm -rf freeradius-0.7.tar.gz freeradius-0.7
126 # go to your working directory
127 # edit configure.in, to bump the version to '0.8-pre'
129 cvs commit configure configure.in
134 # Add in notes about next release, in preparation for more change log notes.