message: Fix some publishing issues
diff: @@ -517,8 +517,8 @@ def doPublishLocalArtifacts() {
  unstash name: publishingStashes[i]
  def path = publishingStashes[i].replaceAll('___', '/')
  withCredentials([[$class: 'FileBinding', credentialsId: 'c0cc8f9e-c3f1-4e22-b22f-6568392e26ae', variable: 's3cfg_config_file']]) {
  - sh "find . -type f -name \"*\" -maxdepth 1 -exec s3cmd -c $s3cfg_config_file put {} s3://static.realm.io/downloads/core/${gitDescribeVersion}/${path}/ \\;"
  - sh 'find . -type f -name "*" -maxdepth 1 -exec s3cmd -c $s3cfg_config_file put {} s3://static.realm.io/downloads/core/ \\;'
  + sh "find . -type f -name \"*\" -exec s3cmd -c $s3cfg_config_file put {} s3://static.realm.io/downloads/core/${gitDescribeVersion}/${path}/ \\;"
  + sh 'find . -type f -name "*" -exec s3cmd -c $s3cfg_config_file put {} s3://static.realm.io/downloads/core/ \\;'
  }
  deleteDir()
  }
  