Don't strip final character of directory name for maven package.

This commit is contained in:
Josh Matthews 2018-10-15 12:16:08 -04:00 committed by GitHub
parent 2bc086762e
commit 34eb1d0499
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -552,7 +552,7 @@ class PackageCommands(CommandBase):
base_dir = os.path.join(directory, artifact_dir)
if not os.path.isdir(base_dir):
continue
package_upload_base = "{}/{}".format(dest_key_base, artifact_dir[:-1])
package_upload_base = "{}/{}".format(dest_key_base, artifact_dir)
# Upload all of the files inside the subdirectory.
for f in os.listdir(base_dir):
file_upload_key = "{}/{}".format(package_upload_base, f)