]> git.sur5r.net Git - bacula/bacula/blob - bacula/release/README
Tweak update release script
[bacula/bacula] / bacula / release / README
1
2 This directory contains the scripts that we use to create a new
3 set of release files.
4
5 In general, you do the following:
6
7 1. Copy the entire contents of this directory out of the 
8    Bacula source tree (this may not be required, but is cleaner).
9
10 2. Edit the makeall file, and update the following enviroment variables
11    to point to the correct directories on your system.  They should
12    point to directories that contain git repos:
13
14    bacula
15    docs
16    rescue
17
18    Also ensure that you have set repo to the name of your repository.
19    Normally, it is origin, but some developers (Kern) use bee.
20
21 3. Ensure that the environment variable "version" is set correctly 
22    in each repo.  Specifically, in:
23
24    bacula/src/version.h
25    rescue/version.h
26    gui/bweb/ReleaseNotes            (for makebwebrel)
27
28    In docs, you must run 
29    ./configure --with-bacula=<bacula source directory>  
30    so that the versions of the docs are correct.
31
32 4. Run the makeall script.  
33
34    ./makeall Branch-5.0   # specify branch to release
35
36 5. There should be no errors.  If 
37    there are, fix them, and re-run the script or re-run the scripts
38    that makeall calls:
39
40    makeclean
41    makebacularel ...
42    makedocsrel ...
43    makerescuerel ...
44    makewinrel ...
45
46 6. All the output files should be put in this directory.
47
48 7. Before releasing, detar the main Bacula source into some
49    directory and run all the regression tests using the files
50    in the bacula-xx.xx.xx.tar.gz file.  This ensures that there
51    are no missing files.          
52
53 8. Also before releasing, run at least one backup using the 
54    Win32 and/or Win64 file daemon.