Skip to content

Commit

Permalink
change relative path for version.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayan Shaw committed Mar 13, 2024
1 parent 32773aa commit 23afa32
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pipelines/java_packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 23afa32

Please sign in to comment.