diff --git a/ci/before-deploy.sh b/ci/before-deploy.sh index dc446374..3b78ff53 100755 --- a/ci/before-deploy.sh +++ b/ci/before-deploy.sh @@ -57,7 +57,8 @@ 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 +pushd ./tag_build +gzip ${PKG_NAME_VER}.tar +sha512sum --binary ${PKG_NAME_VER}.tar.gz > ${PKG_NAME_VER}.sha512sum +popd