source: trunk/tools/release_creation.readme @ 15224

Last change on this file since 15224 was 3282, checked in by plg, 15 years ago

change: according to topic:15067, svn:keywords property was removed

  • Property svn:eol-style set to LF
File size: 1.4 KB
Line 
1=====================================
2 Piwigo release creation guide
3=====================================
4
5Technical creation
6==================
7
8I take release 1.7.0 as an example. In URLs "plg" is my personnal Gna!
9username, so use yours.
10
11- tag creation tags/release-1_7_0 :
12
13$ svn copy \
14  -r 1999 \
15  -m "Create release 1.7.0 from branch 1.7 r1999" \
16  svn+ssh://plg@svn.gna.org/svn/phpwebgallery/branch/branch-1_7 \
17  svn+ssh://plg@svn.gna.org/svn/phpwebgallery/tags/release-1_7_0
18
19- checkout new Subversion release 1.7.0
20
21$ svn co svn+ssh://plg@svn.gna.org/svn/phpwebgallery/tags/release-1_7_0 1.7.0
22$ cd 1.7.0
23
24- in include/config_default.inc.php, change the following parameters:
25  - $conf['check_upgrade_feed'] = false;
26  - $conf['show_version'] = false;
27  - $conf['show_gt'] = false;
28  - $conf['die_on_sql_error'] = false;
29
30- in include/constants.php, change the PHPWG_VERSION to 1.7.0
31
32- commit your changes to tags/release-1_7_0, with the following comment:
33
34> New version 1.7.0 hard coded.
35>
36> Stable release required modifications: don't show version and generation
37> time in footer, don't check the upgrade feed, don't die on sql errors.
38
39$ svn commit
40
41- create the release (pwg_rel_create.sh is in tools directory)
42
43$ mkdir /tmp/1.7.0
44$ cd /tmp/1.7.0
45$ pwg_rel_create.sh release-1_7_0 1.7.0
46$ md5sum p* > MD5SUMS
47
48- upload the release to Gna! download area
49
50$ scp -r /tmp/1.7.0 plg@download.gna.org:/upload/phpwebgallery/release/1.7/
Note: See TracBrowser for help on using the repository browser.