aboutsummaryrefslogtreecommitdiffstats
path: root/tools/release_creation.readme
blob: a8b4f6f52b0f2e3e33aa55445bd920e502e3829d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
=====================================
 Piwigo release creation guide
=====================================

Technical creation
==================

I take release 1.7.0 as an example. In URLs "plg" is my personnal Gna!
username, so use yours.

- tag creation tags/release-1_7_0 :

$ svn copy \
  -r 1999 \
  -m "Create release 1.7.0 from branch 1.7 r1999" \
  svn+ssh://plg@svn.gna.org/svn/phpwebgallery/branch/branch-1_7 \
  svn+ssh://plg@svn.gna.org/svn/phpwebgallery/tags/release-1_7_0

- checkout new Subversion release 1.7.0

$ svn co svn+ssh://plg@svn.gna.org/svn/phpwebgallery/tags/release-1_7_0 1.7.0
$ cd 1.7.0

- in include/config_default.inc.php, change the following parameters:
  - $conf['check_upgrade_feed'] = false;
  - $conf['show_version'] = false;
  - $conf['show_gt'] = false;
  - $conf['die_on_sql_error'] = false;

- in include/constants.php, change the PHPWG_VERSION to 1.7.0

- commit your changes to tags/release-1_7_0, with the following comment:

> New version 1.7.0 hard coded.
> 
> Stable release required modifications: don't show version and generation
> time in footer, don't check the upgrade feed, don't die on sql errors.

$ svn commit

- create the release (pwg_rel_create.sh is in tools directory)

$ mkdir /tmp/1.7.0
$ cd /tmp/1.7.0
$ pwg_rel_create.sh release-1_7_0 1.7.0
$ md5sum p* > MD5SUMS

- upload the release to Gna! download area

$ scp -r /tmp/1.7.0 plg@download.gna.org:/upload/phpwebgallery/release/1.7/