Project

General

Profile

Actions

CdmDataportalRelease » History » Revision 9

« Previous | Revision 9/12 (diff) | Next »
Andreas Kohlbecker, 03/07/2013 09:13 AM


How to do a CdmDataportal Release

The below described manual release process had now been automated as is performed by the jenkins ci server at the push of a button.


Historic information - manual release process

create release tag and branch for the module

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 
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 

create release tag and branch for the themes

svn mkdir http://dev.e-taxonomy.eu/svn/trunk/drupal/themes http://dev.e-taxonomy.eu/svn/tags/drupal/themes-RELEASE-3.0.13 
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 

create the module-cdm_dataportal archive

svn export http://dev.e-taxonomy.eu/svn/branches/drupal/module-cdm_dataportal-RELEASE-3.0.13 
tar czf cdm_dataportal-3.0.13.tar.gz cdm_dataportal-3.0.13 

create the drupal5-cdm_dataportal archive

wget http://wp5.e-taxonomy.eu/download/dataportal/3.0.12/drupal5-cdm_dataportal-3.0.12.tar.gz
tar xzf drupal5-cdm_dataportal-3.0.12.tar.gz
cd drupal5-cdm_dataportal/sites/all       
./update-to.sh 3.0.13
cd ../../../
tar czf drupal5-cdm_dataportal-3.0.13.tar.gz drupal5-cdm_dataportal

create the new folder on the server and upload everything

ssh root@160.45.63.172 "mkdir /var/www/download/dataportal/3.0.13"
ssh root@160.45.63.172 "rm -r /var/www/download/dataportal/stable"
ssh root@160.45.63.172 "ln -s /var/www/download/dataportal/3.0.13 /var/www/download/dataportal/stable"
scp drupal5-cdm_dataportal root@160.45.63.172:/var/www/download/dataportal/3.0.13/
scp drupal5-cdm_dataportal-3.0.12.tar.gz root@160.45.63.172:/var/www/download/dataportal/3.0.13/ 
ssh root@160.45.63.172 "chown -R www-data:www-data /var/www/download/dataportal/3.0.13"
ssh root@160.45.63.172 "chown -R www-data:www-data /var/www/download/dataportal/stable"

Updated by Andreas Kohlbecker almost 9 years ago · 9 revisions