]> git.sur5r.net Git - bacula/bacula/blob - bacula/release/README
Backport Branch-4.0 release to Branch-5.0
[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    winbmr/rescue/version.h
27    gui/bweb/ReleaseNotes            (for makebwebrel)
28
29 4. Run the makeall script.  
30
31    ./makeall Branch-4.0   # specify branch to release
32
33 5. There should be no errors.  If 
34    there are, fix them, and re-run the script or re-run the scripts
35    that makeall calls:
36
37    makeclean
38    makebacularel ...
39    makedocsrel ...
40    makerescuerel ...
41    makewinrel ...
42
43 6. All the output files should be put in this directory.
44
45 7. Before releasing, detar the main Bacula source into some
46    directory and run all the regression tests using the files
47    in the bacula-xx.xx.xx.tar.gz file.  This ensures that there
48    are no missing files.          
49
50 8. Also before releasing, run at least one backup using the 
51    Win32 and/or Win64 file daemon.