Project

General

Profile

CdmDataportalRelease » History » Revision 10

Revision 9 (Andreas Kohlbecker, 03/07/2013 09:13 AM) → Revision 10/15 (Andreas Kohlbecker, 03/07/2013 09:14 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._ 



 ---- 



 ###    Manual Historic information - 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://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" 
 ~~~