Project

General

Profile

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.


Manual release process (historic information)

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://cybertaxonomy.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"
Add picture from clipboard (Maximum size: 40 MB)