Update the JAR name from hyperspace-core_spark*.* to hyperspace-core-spark*.* (#451)

This commit is contained in:
Terry Kim 2021-06-01 11:21:12 -07:00 коммит произвёл GitHub
Родитель 72230221a8
Коммит 0011d0ded9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@ -28,12 +28,12 @@ jobs:
inputs:
sourceFolder: '$(Build.SourcesDirectory)/target/'
contents: '**/*.jar'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
- task: PublishBuildArtifacts@1
displayName: 'Publish Hyperspace artifacts'
inputs:
artifactName: 'hyperspace-core_spark2.4'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
artifactName: 'hyperspace-core-spark2.4'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
- job: Build_Spark2_4_2_12
displayName: 'Build sources and run unit tests for Spark 2.4 / Scala 2.12'
@ -51,12 +51,12 @@ jobs:
inputs:
sourceFolder: '$(Build.SourcesDirectory)/target/'
contents: '**/*.jar'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
- task: PublishBuildArtifacts@1
displayName: 'Publish Hyperspace artifacts'
inputs:
artifactName: 'hyperspace-core_spark2.4'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
artifactName: 'hyperspace-core-spark2.4'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
- job: Build_Spark3_0_2_12
displayName: 'Build sources and run unit tests for Spark 3.0 / Scala 2.12'
@ -74,12 +74,12 @@ jobs:
inputs:
sourceFolder: '$(Build.SourcesDirectory)/target/'
contents: '**/*.jar'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.0/'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.0/'
- task: PublishBuildArtifacts@1
displayName: 'Publish Hyperspace artifacts'
inputs:
artifactName: 'hyperspace-core_spark3.0'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.0/'
artifactName: 'hyperspace-core-spark3.0'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.0/'
- job: Build_Spark3_1_2_12
displayName: 'Build sources and run unit tests for Spark 3.1 / Scala 2.12'
@ -97,12 +97,12 @@ jobs:
inputs:
sourceFolder: '$(Build.SourcesDirectory)/target/'
contents: '**/*.jar'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.1/'
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.1/'
- task: PublishBuildArtifacts@1
displayName: 'Publish Hyperspace artifacts'
inputs:
artifactName: 'hyperspace-core_spark3.1'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.1/'
artifactName: 'hyperspace-core-spark3.1'
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.1/'
- job: PythonTest
displayName: 'Run Python tests'

Просмотреть файл

@ -90,7 +90,7 @@ lazy val commonSettings = Seq(
buildInfoPackage := "com.microsoft.hyperspace",
name := "hyperspace-core",
moduleName := name.value + s"_spark${sparkVersion.value.short}",
moduleName := name.value + s"-spark${sparkVersion.value.short}",
libraryDependencies ++= deps(sparkVersion.value),
// Scalastyle

Просмотреть файл

@ -88,7 +88,7 @@ def prepare(root_dir):
version = '0.0.0'
with open(os.path.join(root_dir, "version.sbt")) as fd:
version = fd.readline().split('"')[1]
package = "com.microsoft.hyperspace:hyperspace-core_spark2.4_2.12:" + version
package = "com.microsoft.hyperspace:hyperspace-core-spark2.4_2.12:" + version
return package