Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" 
for change notification.

The "HttpComponentsCoreReleaseProcess" page has been changed by SebastianBazley.
The comment on this change is: Document use of clean workspace to create the 
tag.
http://wiki.apache.org/HttpComponents/HttpComponentsCoreReleaseProcess?action=diff&rev1=22&rev2=23

--------------------------------------------------

  
  == Building release packages ==
  
-  * Make sure you have the latest SVN content
+ Rather than making the necessary changes in the current SVN tree, and then 
creating the tag from that, 
+ we create a clean workspace from the current tree. 
+ The version and SCM changes are applied to the new workspace, which is then 
used to create the tag.
+ This approach means that the current tree is never in a transitional state.
+ Also, ongoing changes to the current tree cannot affect the new workspace.
  
+  * Make sure all the workspace is up to date
+ 
- {{{  
+ {{{
- svn up
+ svn -u st
  }}}
  
-  * Manually update pom.xml of the project: put the release version as the 
artifact version and update the SCM details to refer to the release tag
+  * Checkout the current SVN tree (usually trunk) into a fresh directory
+ 
+ {{{  
+ svn co https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk 
httpcore-4.2-beta3-RC1
+ }}}
+ 
+  * Manually update the top-level pom.xml of the project: put the release 
version (e.g. 4.2-beta3) as the artifact version and update the SCM details to 
refer to the final release tag (without the -RC1 suffix, as the tag will be 
renamed later).
+ 
+ ''TODO - can this be done using the versions plugin?''
  
  {{{  
  pom.xml
@@ -157, +171 @@

  httpcore-benchmark/pom.xml
  }}}
  
-  * Commit the changes
+  * Double-check that the changes to the workspace look OK
+  The diff command should only show changes to the version and scm tags
  
-  * Create release tag
- 
- {{{
- svn cp https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk 
https://svn.apache.org/repos/asf/httpcomponents/httpcore/tags/<version>
- }}}
- 
-  * Make a clean checkout off the release tag
- 
- {{{  
+ {{{
+ svn diff
+ }}}
+ 
+  * Commit the changes, creating the release tag in the process.
+  Note: this preserves history, and the commit message will show just the 
version and SCM changes as above
+ 
+ {{{
- svn co 
http://svn.apache.org/repos/asf/httpcomponents/httpcore/tags/<version>/ 
httpcore-<version>
+ svn cp . 
https://svn.apache.org/repos/asf/httpcomponents/httpcore/tags/4.2-beta3-RC1
  }}}
+ 
+  '''IMPORTANT''' the workspace is still attached to trunk, so do not perform 
a checkin.
  
   * Install release artifacts to the local Maven repository
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to