This is an automated email from the ASF dual-hosted git repository.
mjsax pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/2.0 by this push:
new a53c7ef MINOR: update release.py (#5374)
a53c7ef is described below
commit a53c7ef858c06992e34ca7291d70a9e48365b0be
Author: Matthias J. Sax <[email protected]>
AuthorDate: Tue Jul 17 13:12:13 2018 -0700
MINOR: update release.py (#5374)
Reviewers: Ewen Cheslack-Postava <[email protected]>, Dong Lin
<[email protected]>
---
release.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/release.py b/release.py
index 7eff6cc..ec7d5c6 100755
--- a/release.py
+++ b/release.py
@@ -147,7 +147,7 @@ def sftp_mkdir(dir):
try:
cmd_str = """
cd %s
-mkdir %s
+-mkdir %s
""" % (basedir, dirname)
cmd("Creating '%s' in '%s' in your Apache home directory if it does not
exist (errors are ok if the directory already exists)" % (dirname, basedir),
"sftp -b - %[email protected]" % apache_id, stdin=cmd_str,
allow_failure=True)
except subprocess.CalledProcessError:
@@ -479,16 +479,16 @@ sftp_cmds = ""
for root, dirs, files in os.walk(artifacts_dir):
assert root.startswith(artifacts_dir)
- for file in files:
- local_path = os.path.join(root, file)
- remote_path = os.path.join("public_html", kafka_output_dir,
root[len(artifacts_dir)+1:], file)
- sftp_cmds += "\nput %s %s" % (local_path, remote_path)
-
for dir in dirs:
sftp_mkdir(os.path.join("public_html", kafka_output_dir,
root[len(artifacts_dir)+1:], dir))
-if sftp_cmds:
- cmd("Uploading artifacts in %s to your Apache home directory" % root,
"sftp -b - %[email protected]" % apache_id, stdin=sftp_cmds)
+ for file in files:
+ local_path = os.path.join(root, file)
+ remote_path = os.path.join("public_html", kafka_output_dir,
root[len(artifacts_dir)+1:], file)
+ sftp_cmds = """
+put %s %s
+""" % (local_path, remote_path)
+ cmd("Uploading artifacts in %s to your Apache home directory" % root,
"sftp -b - %[email protected]" % apache_id, stdin=sftp_cmds)
with open(os.path.expanduser("~/.gradle/gradle.properties")) as f:
contents = f.read()
@@ -581,7 +581,7 @@ https://repository.apache.org/content/groups/staging/
http://home.apache.org/~%(apache_id)s/kafka-%(rc_tag)s/javadoc/
* Tag to be voted upon (off %(dev_branch)s branch) is the %(release_version)s
tag:
-https://git-wip-us.apache.org/repos/asf?p=kafka.git;a=tag;h=%(rc_githash)s
+https://github.com/apache/kafka/releases/tag/%(rc_tag)s
* Documentation:
http://kafka.apache.org/%(docs_version)s/documentation.html
@@ -591,7 +591,7 @@ http://kafka.apache.org/%(docs_version)s/protocol.html
* Successful Jenkins builds for the %(dev_branch)s branch:
Unit/integration tests:
https://builds.apache.org/job/kafka-%(dev_branch)s-jdk8/<BUILD NUMBER>/
-System tests:
https://jenkins.confluent.io/job/system-test-kafka-%(dev_branch)s/<BUILD_NUMBER>/
+System tests:
https://jenkins.confluent.io/job/system-test-kafka/job/%(dev_branch)s/<BUILD_NUMBER>/
/**************************************