You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ja...@apache.org on 2021/10/25 11:31:30 UTC
[systemds] branch master updated: [MINOR] Publish to nexus repo
during dry run (#1420)
This is an automated email from the ASF dual-hosted git repository.
janardhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/master by this push:
new f2cf133 [MINOR] Publish to nexus repo during dry run (#1420)
f2cf133 is described below
commit f2cf133a5c935a356d2d0d1bb0b0035e13a840ed
Author: Janardhan Pulivarthi <j1...@protonmail.com>
AuthorDate: Mon Oct 25 17:01:21 2021 +0530
[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
---
dev/release/release-build.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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 @@ EOF
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 @@ EOF
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)