Skip to content

Commit

Permalink
update sed
Browse files Browse the repository at this point in the history
  • Loading branch information
rachguo authored and rachguo committed Dec 14, 2023
1 parent 6b9651d commit 9e227da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pipelines/ios_packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ jobs:
OBJC_LOCAL_POD_ARCHIVE_PATH=$(find . -name "pod-archive-onnxruntime-objc*.zip")
C_LOCAL_POD_ARCHIVE_PATH_CLEANED=${C_LOCAL_POD_ARCHIVE_PATH#./}
OBJC_LOCAL_POD_ARCHIVE_PATH_CLEANED=${OBJC_LOCAL_POD_ARCHIVE_PATH#./}
sed -i "" -e "s|file:///http_source_placeholder|file:////${C_LOCAL_POD_ARCHIVE_PATH_CLEANED}|" "${ORT_C_LOCAL_POD_PATH}"
sed -i "" -e "s|file:///http_source_placeholder|file:////${OBJC_LOCAL_POD_ARCHIVE_PATH_CLEANED}|" "${ORT_OBJC_LOCAL_POD_PATH}"
sed -i "" -e "s|:http => file:///http_source_placeholder|:path => $(Build.ArtifactStagingDirectory)/${C_LOCAL_POD_ARCHIVE_PATH_CLEANED}|" "${ORT_C_LOCAL_POD_PATH}"
sed -i "" -e "s|:http => file:///http_source_placeholder|:path => $(Build.ArtifactStagingDirectory)/${OBJC_LOCAL_POD_ARCHIVE_PATH_CLEANED}|" "${ORT_OBJC_LOCAL_POD_PATH}"
displayName: "List downloaded artifacts and update podspec files"
workingDirectory: $(Build.ArtifactStagingDirectory)
Expand Down

0 comments on commit 9e227da

Please sign in to comment.