Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.0:development:release [2017/01/30 17:10] (current)
Line 1: Line 1:
 +====== Releasing ======
  
 +Quick notes for developers wanting to release a version of LSC.
 +
 +===== Prerequisites =====
 +
 +Make sure a branch is ready for release. This must involve testing by automated tests and a call for testing by developers and willing users.
 +===== Update change log =====
 +
 +Update the CHANGES file. It is the same file, so just copy it from one to the other once it's updated. It can be reconstructed from the detail of a version in Redmine, for example: http://​tools.lsc-project.org/​versions/​show/​13
 +
 +===== Tagging =====
 +
 +Then, tag a version in SVN:
 +<​code>​
 +$ svn cp lsc/​branches/​v2.0/​ lsc/​tags/​2.0.1
 +</​code>​
 +
 +Edit the version number in lsc-core pom.xml:
 +<​code>​
 +$ vi lsc/​tags/​2.0.1/​pom.xml
 +[...]
 +        <​artifactId>​lsc-core</​artifactId>​
 +        <​name>​Ldap Synchronization Connector</​name>​
 +        <​version>​2.0.1</​version>​
 +[...]
 +</​code>​
 +
 +Last but not least, commit this tag:
 +<​code>​
 +$ svn commit -m "​Tagging 2.0.1 for release"​ lsc/​tags/​2.0.1
 +</​code>​
 +===== Building =====
 +
 +Build with <​code>​mvn package</​code>​ and copy the files to be distributed from under target/.
 +
 +===== Distributing =====
 +
 +We currently distribute the following files:
 +
 +  * lsc-core-2.0.1-src.tar.gz:​ source archive
 +  * lsc-core-2.0.1-dist.tar.gz:​ distribution archive, containing all required dependencies
 +  * lsc-core-2.0.1-installer.jar:​ automated graphical installer to install the dist archive above