[MINOR] Publish to nexus repo during dry run (#1420)

* Publish to repository.apache.org during dry run
* fix temp repo folder name for release run
diff --git a/dev/release/release-build.sh b/dev/release/release-build.sh
index 890c9bf..ba7b897 100755
--- a/dev/release/release-build.sh
+++ b/dev/release/release-build.sh
@@ -196,7 +196,7 @@
   pushd "${tmp_repo}/org/apache/systemds"
   
 
-  if ! is_dry_run; then
+  # if ! is_dry_run; then
     # upload files to nexus repo
     nexus_upload_id=$NEXUS_ROOT/deployByRepositoryId/$staged_repository_id
     printf "\nUpload files to $nexus_upload_id \n"
@@ -219,17 +219,17 @@
 
     printf "\nAfter release vote passes make sure to hit release button.\n"
 
-  else
-    printf "Files will uploaded to Nexus Repo at this step."
-  fi
+  # else
+  #   printf "Files will uploaded to Nexus Repo at this step."
+  # fi
     
     printf "\n ============== "
     printf "\n Upload artifacts to dist.apache.org \n"
     
     svn co --depth=empty $RELEASE_STAGING_LOCATION svn-systemds
 
-    if [[ ! is_dry_run ]]; then
-      stage_dir=svn-systemds/${PACKAGE_VERSION}
+    if ! is_dry_run; then
+      stage_dir="svn-systemds/${PACKAGE_VERSION}"
       mkdir -p $stage_dir
     else
       stage_dir=$(mktemp -d svn-systemds/${DEST_DIR_NAME}-temp-XXXX)