From ba859568a3898e53eccd5406e120ff6caffec77f Mon Sep 17 00:00:00 2001 From: Joe Marshall Date: Tue, 13 Aug 2024 13:10:39 +0100 Subject: [PATCH] fix separator problems with sed usage --- .github/workflows/make_wheels.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make_wheels.yaml b/.github/workflows/make_wheels.yaml index aa7dab5..9d1bb43 100644 --- a/.github/workflows/make_wheels.yaml +++ b/.github/workflows/make_wheels.yaml @@ -48,8 +48,9 @@ jobs: echo ARROW_WHEEL=${ARROW_WHEEL}>>$GITHUB_ENV echo ARROW_VERSION=${ARROW_VERSION}>>$GITHUB_ENV echo ARROW_SHA256=${ARROW_SHA256}>>$GITHUB_ENV - - sed "s:#RELEASE_URL#:${ARROW_RELEASE_URL}:g;s:#RELEASE_SHA256#:${ARROW_SHA256}:g;s:#RELEASE_VERSION#:${ARROW_VERSION}:g;"\ + # use £ as separator for sed call below, because most of the normal ones are + # either special characters in bash or URL characters + sed "s£#RELEASE_URL#£${ARROW_RELEASE_URL}£g;s£#RELEASE_SHA256#£${ARROW_SHA256}£g;s£#RELEASE_VERSION#£${ARROW_VERSION}£g;"\ < pyarrow/_meta_built_template.yaml > pyarrow/dist/${ARROW_WHEEL}.yaml - name: Upload the build artifacts for build debugging purposes uses: actions/upload-artifact@v4