This is an automated email from the ASF dual-hosted git repository.

johndament pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ariatosca.git


The following commit(s) were added to refs/heads/master by this push:
     new a28e94e  Use a single command to move release
a28e94e is described below

commit a28e94efab552d08ecbb5046621b5b90a7d0d966
Author: John Ament <[email protected]>
AuthorDate: Fri Dec 29 18:16:36 2017 -0500

    Use a single command to move release
    
    You can directly use svn mv to move from the dev to release repos.
---
 release/asf-release.sh | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/release/asf-release.sh b/release/asf-release.sh
index 340eea0..6b09543 100755
--- a/release/asf-release.sh
+++ b/release/asf-release.sh
@@ -227,23 +227,9 @@ function _publish_to_apache_release {
 
     echo "Publishing to Apache dist..."
 
-    local TMP_DIR=$(mktemp -d)
-    echo "Checking out ARIA dist dev to ${TMP_DIR}"
-    pushd ${TMP_DIR}
-
-    svn co https://dist.apache.org/repos/dist/dev/incubator/ariatosca/ 
ariatosca-dev
-    svn co https://dist.apache.org/repos/dist/release/incubator/ariatosca/ 
ariatosca-release
-    cp -r ariatosca-dev/${RELEASE_DIR} ariatosca-release
-
-    pushd ariatosca-release
-    svn add ${RELEASE_DIR}
-    # TODO: remove older releases?
-    svn commit -m "ARIA ${VERSION} release"
-    popd
-    popd
+    svn mv 
https://dist.apache.org/repos/dist/dev/incubator/ariatosca/${RELEASE_DIR} 
https://dist.apache.org/repos/dist/release/incubator/ariatosca/${RELEASE_DIR} 
-m "ARIATOSCA ${VERSION} publish"
 }
 
-
 function _create_git_tag {
     local VERSION=$1
 

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to