From 23afa32ef81c244c5f9d5404512f50adc2a1c604 Mon Sep 17 00:00:00 2001 From: Sayan Shaw Date: Wed, 13 Mar 2024 13:53:58 -0700 Subject: [PATCH] change relative path for version.txt --- .pipelines/java_packaging.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pipelines/java_packaging.yml b/.pipelines/java_packaging.yml index 3de18dd11..4e829ac87 100644 --- a/.pipelines/java_packaging.yml +++ b/.pipelines/java_packaging.yml @@ -25,7 +25,7 @@ stages: - script: | cd $(Build.ArtifactStagingDirectory) - jar xvf onnxruntime-extensions-$(cat ./version.txt).jar + jar xvf onnxruntime-extensions-$(cat version.txt).jar tree $(Build.ArtifactStagingDirectory) /f displayName: Unpack JAR to sign DLL @@ -65,7 +65,7 @@ stages: - script: | cd $(Build.ArtifactStagingDirectory) - jar xvf onnxruntime-extensions-$(cat ./version.txt).jar + jar xvf onnxruntime-extensions-$(cat version.txt).jar tree $(Build.ArtifactStagingDirectory) /f displayName: Unpack JAR @@ -103,7 +103,7 @@ stages: - script: | cd $(Build.ArtifactStagingDirectory) - jar xvf onnxruntime-extensions-$(cat ./version.txt).jar + jar xvf onnxruntime-extensions-$(cat version.txt).jar displayName: Unpack JAR to view contents - task: DownloadPipelineArtifact@0 @@ -125,8 +125,8 @@ stages: - script: | cd $(Build.ArtifactStagingDirectory) - rm onnxruntime-extensions-$(cat ./version.txt).jar - jar cmf0 META-INF/MANIFEST.MF onnxruntime-extensions-$(cat ./version.txt).jar * + rm onnxruntime-extensions-$(cat version.txt).jar + jar cmf0 META-INF/MANIFEST.MF onnxruntime-extensions-$(cat version.txt).jar * displayName: Combine and pack JAR with Windows, Linux and MacOS Binaries - task: PublishPipelineArtifact@1