You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2016/09/27 14:00:39 UTC
svn commit: r1762484 -
/jackrabbit/site/trunk/src/site/markdown/creating-releases.md
Author: reschke
Date: Tue Sep 27 14:00:39 2016
New Revision: 1762484
URL: http://svn.apache.org/viewvc?rev=1762484&view=rev
Log:
add sanity check for version shell variable in svn mv operation
Modified:
jackrabbit/site/trunk/src/site/markdown/creating-releases.md
Modified: jackrabbit/site/trunk/src/site/markdown/creating-releases.md
URL: http://svn.apache.org/viewvc/jackrabbit/site/trunk/src/site/markdown/creating-releases.md?rev=1762484&r1=1762483&r2=1762484&view=diff
==============================================================================
--- jackrabbit/site/trunk/src/site/markdown/creating-releases.md (original)
+++ jackrabbit/site/trunk/src/site/markdown/creating-releases.md Tue Sep 27 14:00:39 2016
@@ -74,9 +74,9 @@ Release management tasks
9. If the vote fails (easy case first) remove the tag from svn, drop the staged repository and revert the version release in Jira- done
10. If the vote is successful
* close the vote by publishing the results
- * copy the release candidate from dev/jackrabbit to release/jackrabbit in https://dist.apache.org/repos/dist/, and delete any older releases from the same branch (they're automatically archived),
+ * copy the release candidate from dev/jackrabbit to release/jackrabbit in https://dist.apache.org/repos/dist/, and delete any older releases from the same branch (they're automatically archived) -- **be careful to properly set the version variable!!!**
- svn move -m "Apache Jackrabbit $version" \
+ [ "x$version" = "x" ] || svn move -m "Apache Jackrabbit $version" \
https://dist.apache.org/repos/dist/dev/jackrabbit/$version \
https://dist.apache.org/repos/dist/release/jackrabbit/$version