aboutsummaryrefslogtreecommitdiffstats
path: root/tools/release_creation.readme
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2007-11-29 23:03:19 +0000
committerplegall <plg@piwigo.org>2007-11-29 23:03:19 +0000
commit24553207a974463deaeffde63d0561833ad321a9 (patch)
treed0167030f7149b0b0b16b96193795457f43a97ab /tools/release_creation.readme
parent58fafb94d8aeae3c29b2c4d1a4614c21ab6cacdf (diff)
New: procedure and release creation script added.
git-svn-id: http://piwigo.org/svn/trunk@2176 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--tools/release_creation.readme50
1 files changed, 50 insertions, 0 deletions
diff --git a/tools/release_creation.readme b/tools/release_creation.readme
new file mode 100644
index 000000000..3320bb094
--- /dev/null
+++ b/tools/release_creation.readme
@@ -0,0 +1,50 @@
+=====================================
+ PhpWebGallery 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/