diff --git a/ci/before-deploy.sh b/ci/before-deploy.sh index 1f86b7d1..12a3a1c5 100755 --- a/ci/before-deploy.sh +++ b/ci/before-deploy.sh @@ -48,5 +48,22 @@ fi PKG_NAME_VER="python-gssapi-${PYTHON_GSSAPI_VERSION}" -tar -czvf ./tag_build/${PKG_NAME_VER}.tar.gz --exclude='dist' --exclude='tag_build' --exclude='.git' --exclude='travis_docs_build' --exclude='.git' --transform "s,^\.,${PKG_NAME_VER}," . +tar -cvf ./tag_build/${PKG_NAME_VER}.tar \ + --exclude='dist' \ + --exclude='tag_build' \ + --exclude='.git' \ + --exclude='travis_docs_build' \ + --exclude='README.rst' \ + --transform="s,^\.,${PKG_NAME_VER}," . + +# --transform clobbers symlink so add it last using Python +python - << EOF +import tarfile + +with tarfile.open("tag_build/${PKG_NAME_VER}.tar", mode="a:") as tf: + tf.add("README.rst", arcname="${PKG_NAME_VER}/README.rst") +EOF + +gzip ./tag_build/${PKG_NAME_VER}.tar + sha512sum --binary ./tag_build/${PKG_NAME_VER}.tar.gz > ./tag_build/${PKG_NAME_VER}.sha512sum pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy