Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/harfbuzz/.ci/publish_release_artifact.sh @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 #!/usr/bin/env bash | |
| 2 | |
| 3 set -e | |
| 4 set -o pipefail | |
| 5 | |
| 6 if [[ -z $GITHUB_TOKEN ]]; then | |
| 7 echo "No GITHUB_TOKEN secret found, artifact publishing skipped" | |
| 8 exit | |
| 9 fi | |
| 10 | |
| 11 if ! hash ghr 2> /dev/null; then | |
| 12 _GHR_VER=v0.14.0 | |
| 13 _GHR=ghr_${_GHR_VER}_linux_amd64 | |
| 14 mkdir -p $HOME/.local/bin | |
| 15 curl -sfL https://github.com/tcnksm/ghr/releases/download/$_GHR_VER/$_GHR.tar.gz | | |
| 16 tar xz -C $HOME/.local/bin --strip-components=1 $_GHR/ghr | |
| 17 fi | |
| 18 | |
| 19 ghr -replace \ | |
| 20 -u $CIRCLE_PROJECT_USERNAME \ | |
| 21 -r $CIRCLE_PROJECT_REPONAME \ | |
| 22 $CIRCLE_TAG \ | |
| 23 $1 |
