]> git.sur5r.net Git - bacula/bacula/blob - bacula/release/README
Tweak some comments and formatting.
[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 config 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 "branch" is properly set to the right version in
22    the config file.
23
24 4. Note, the release version is obtained from bacula/src/version.h and
25    put into a number of files in the release by the release scripts.
26
27 5. Run the makeall script.  
28
29    ./makeall
30
31 6. There should be no errors.  If 
32    there are, fix them, and re-run the script or re-run the scripts
33    that makeall calls:
34
35 7. All the output files should be put in this directory.
36
37 8. Before releasing, detar the main Bacula source into some
38    directory and run all the regression tests using the files
39    in the bacula-xx.xx.xx.tar.gz file.  This ensures that there
40    are no missing files.          
41
42 9. Also before releasing, run at least one backup using the 
43    Win32 and/or Win64 file daemon.
44
45 10 When you are sure, run:
46
47    pushtags
48
49    which will push each repo and push the tags.