CdmDataportalRelease » History » Version 9
Andreas Kohlbecker, 03/07/2013 09:13 AM
1 | 1 | Andreas Kohlbecker | |
---|---|---|---|
2 | |||
3 | ## How to do a [[CdmDataportal]] Release |
||
4 | |||
5 | |||
6 | 9 | Andreas Kohlbecker | _The below described manual release process had now been automated as is performed by the jenkins ci server at the push of a button._ |
7 | |||
8 | |||
9 | |||
10 | ---- |
||
11 | |||
12 | |||
13 | |||
14 | ### Historic information - manual release process |
||
15 | |||
16 | |||
17 | 2 | Andreas Kohlbecker | create release tag and branch for the module |
18 | |||
19 | 1 | Andreas Kohlbecker | ~~~ |
20 | 2 | Andreas Kohlbecker | svn mkdir http://dev.e-taxonomy.eu/svn/trunk/drupal/modules/cdm_dataportal http://dev.e-taxonomy.eu/svn/tags/drupal/module-cdm_dataportal-RELEASE-3.0.13 |
21 | svn mkdir http://dev.e-taxonomy.eu/svn/tags/drupal/module-cdm_dataportal-RELEASE-3.0.13 http://dev.e-taxonomy.eu/svn/branches/drupal/module-cdm_dataportal-RELEASE-3.0.13 |
||
22 | ~~~ |
||
23 | |||
24 | create release tag and branch for the themes |
||
25 | |||
26 | |||
27 | ~~~ |
||
28 | 3 | Andreas Kohlbecker | svn mkdir http://dev.e-taxonomy.eu/svn/trunk/drupal/themes http://dev.e-taxonomy.eu/svn/tags/drupal/themes-RELEASE-3.0.13 |
29 | svn mkdir http://dev.e-taxonomy.eu/svn/tags/drupal/themes-RELEASE-3.0.13 http://dev.e-taxonomy.eu/svn/branches/drupal/themes-RELEASE-3.0.13 |
||
30 | 2 | Andreas Kohlbecker | ~~~ |
31 | |||
32 | |||
33 | create the _module-cdm_dataportal_ archive |
||
34 | |||
35 | ~~~ |
||
36 | 1 | Andreas Kohlbecker | svn export http://dev.e-taxonomy.eu/svn/branches/drupal/module-cdm_dataportal-RELEASE-3.0.13 |
37 | tar czf cdm_dataportal-3.0.13.tar.gz cdm_dataportal-3.0.13 |
||
38 | ~~~ |
||
39 | 2 | Andreas Kohlbecker | |
40 | create the _drupal5-cdm_dataportal_ archive |
||
41 | 1 | Andreas Kohlbecker | |
42 | ~~~ |
||
43 | wget http://wp5.e-taxonomy.eu/download/dataportal/3.0.12/drupal5-cdm_dataportal-3.0.12.tar.gz |
||
44 | tar xzf drupal5-cdm_dataportal-3.0.12.tar.gz |
||
45 | 4 | Andreas Kohlbecker | cd drupal5-cdm_dataportal/sites/all |
46 | ./update-to.sh 3.0.13 |
||
47 | 5 | Andreas Kohlbecker | cd ../../../ |
48 | 4 | Andreas Kohlbecker | tar czf drupal5-cdm_dataportal-3.0.13.tar.gz drupal5-cdm_dataportal |
49 | 1 | Andreas Kohlbecker | ~~~ |
50 | 4 | Andreas Kohlbecker | |
51 | 7 | Andreas Kohlbecker | create the new folder on the server and upload everything |
52 | 4 | Andreas Kohlbecker | |
53 | 8 | Andreas Kohlbecker | ~~~ |
54 | 6 | Andreas Kohlbecker | ssh root@160.45.63.172 "mkdir /var/www/download/dataportal/3.0.13" |
55 | ssh root@160.45.63.172 "rm -r /var/www/download/dataportal/stable" |
||
56 | 1 | Andreas Kohlbecker | ssh root@160.45.63.172 "ln -s /var/www/download/dataportal/3.0.13 /var/www/download/dataportal/stable" |
57 | 7 | Andreas Kohlbecker | scp drupal5-cdm_dataportal root@160.45.63.172:/var/www/download/dataportal/3.0.13/ |
58 | scp drupal5-cdm_dataportal-3.0.12.tar.gz root@160.45.63.172:/var/www/download/dataportal/3.0.13/ |
||
59 | 6 | Andreas Kohlbecker | ssh root@160.45.63.172 "chown -R www-data:www-data /var/www/download/dataportal/3.0.13" |
60 | 4 | Andreas Kohlbecker | ssh root@160.45.63.172 "chown -R www-data:www-data /var/www/download/dataportal/stable" |
61 | 8 | Andreas Kohlbecker | ~~~ |