diff --git a/.ci/publish_release_artifact.sh b/.ci/publish_release_artifact.sh index 272d90bed..f948e68c2 100755 --- a/.ci/publish_release_artifact.sh +++ b/.ci/publish_release_artifact.sh @@ -11,12 +11,11 @@ fi if ! hash ghr 2> /dev/null; then _GHR_VER=v0.14.0 _GHR=ghr_${_GHR_VER}_linux_amd64 - mkdir -p $HOME/.local/bin curl -sfL https://github.com/tcnksm/ghr/releases/download/$_GHR_VER/$_GHR.tar.gz | - tar xz -C $HOME/.local/bin --strip-components=1 $_GHR/ghr + tar xz -C . --strip-components=1 $_GHR/ghr fi -ghr -replace \ +./ghr -replace \ -u $CIRCLE_PROJECT_USERNAME \ -r $CIRCLE_PROJECT_REPONAME \ $CIRCLE_TAG \ diff --git a/.circleci/config.yml b/.circleci/config.yml index 3026349fd..b2f5488b8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -154,6 +154,8 @@ jobs: - checkout - attach_workspace: at: . + - run: apt update + - run: DEBIAN_FRONTEND=noninteractive apt install -y curl - run: | mv harfbuzz-win32{,-$CIRCLE_TAG}.zip .ci/publish_release_artifact.sh harfbuzz-win32-$CIRCLE_TAG.zip @@ -183,6 +185,8 @@ jobs: - checkout - attach_workspace: at: . + - run: apt update + - run: DEBIAN_FRONTEND=noninteractive apt install -y curl - run: | mv harfbuzz-win64{,-$CIRCLE_TAG}.zip .ci/publish_release_artifact.sh harfbuzz-win64-$CIRCLE_TAG.zip