Difference between revisions of "Documentation/4.1/Developers/Versioning"

From Slicer Wiki
Jump to: navigation, search
Line 12: Line 12:
 
= Slicer package - Naming scheme =
 
= Slicer package - Naming scheme =
  
* All packages will have the following root:
+
<pre>Slicer-&lt;MAJOR_VERSION&gt;.&lt;MINOR_VERSION&gt;.&lt;BUILD_VERSION&gt;-&lt;[VERSION_SOURCE|VERSION_RELEASE]&gt;-&lt;DATE&gt;-&lt;ARCH&gt;-&lt;PLATFORM&gt;</pre>
<pre>Slicer-&lt;MAJOR_VERSION&gt;.&lt;MINOR_VERSION&gt;.&lt;BUILD_VERSION&gt;-&lt;VERSION_SOURCE_OR_RC&gt;-&lt;DATE&gt;-&lt;ARCH&gt;-&lt;PLATFORM&gt;</pre>
 
  
* If CTKAppLauncher_VERSION_IS_RELEASE == 0:
+
* If Slicer_VERSION_IS_RELEASE == 0:
<pre>VERSION_SOURCE_OR_RC := g&lt;SHA1&gt;[-dirty]</pre>
+
<pre>VERSION_SOURCE := g&lt;SHA1&gt;[-dirty]</pre>
 
* else:
 
* else:
<pre>VERSION_SOURCE_OR_RC := [-rc{1|2|3...}]</pre>
+
<pre>VERSION_RELEASE := [rc{1|2|3...}]</pre>
  
 
= Extension package - Naming scheme =
 
= Extension package - Naming scheme =

Revision as of 15:25, 5 December 2011

Home < Documentation < 4.1 < Developers < Versioning

Documentation


Slicer package - Naming scheme

Slicer-<MAJOR_VERSION>.<MINOR_VERSION>.<BUILD_VERSION>-<[VERSION_SOURCE|VERSION_RELEASE]>-<DATE>-<ARCH>-<PLATFORM>
  • If Slicer_VERSION_IS_RELEASE == 0:
VERSION_SOURCE := g<SHA1>[-dirty]
  • else:
VERSION_RELEASE := [rc{1|2|3...}]

Extension package - Naming scheme