message: Fix the publishing of cocoa artifacts
diff: @@ -388,14 +388,15 @@ def doBuildMacOs(String buildType) {
  ONLY_ACTIVE_ARCH=NO
  """)
  }
  - }
  - archiveArtifacts("build-macos-${buildType}/*.tar.xz")
  -
  def stashName = "macos___${buildType}"
  - stash includes:"build-macos-${buildType}/*.tar.xz", name:stashName
  + stash includes:'*.tar.xz', name:stashName
  cocoaStashes << stashName
  + if(gitTag) {
  publishingStashes << stashName
  }
  + archiveArtifacts('*.tar.xz')
  + }
  + }
  }
  }
  @@ -414,9 +415,10 @@ def doBuildAppleDevice(String sdk, String buildType) {
  }
  }
  }
  - archiveArtifacts("build-${sdk}-${buildType}/*.tar.xz")
  + dir("build-${sdk}-${buildType}") {
  + archiveArtifacts('*.tar.xz')
  def stashName = "${sdk}___${buildType}"
  - stash includes:"build-${sdk}-${buildType}/*.tar.xz", name:stashName
  + stash includes:'*.tar.xz', name:stashName
  cocoaStashes << stashName
  if(gitTag) {
  publishingStashes << stashName
  @@ -424,6 +426,7 @@ def doBuildAppleDevice(String sdk, String buildType) {
  }
  }
  }
  +}
  /**
  * Wraps the test recorder by adding a tag which will make the test distinguishible
  