Skip to content

Commit afa1b27

Browse files
committed
Fix sha512sum file generation
Change sha512sum command line so that it does not include subdirectory paths with the filename in the generated file, as that makes it harder to check the sha512sum later via the --check option. Signed-off-by: Simo Sorce <[email protected]>
1 parent 6ec1927 commit afa1b27

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ci/before-deploy.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ with tarfile.open("tag_build/${PKG_NAME_VER}.tar", mode="a:") as tf:
5757
tf.add("README.rst", arcname="${PKG_NAME_VER}/README.rst")
5858
EOF
5959

60-
gzip ./tag_build/${PKG_NAME_VER}.tar
61-
62-
sha512sum --binary ./tag_build/${PKG_NAME_VER}.tar.gz > ./tag_build/${PKG_NAME_VER}.sha512sum
60+
pushd ./tag_build
61+
gzip ${PKG_NAME_VER}.tar
6362

63+
sha512sum --binary ${PKG_NAME_VER}.tar.gz > ${PKG_NAME_VER}.sha512sum
64+
popd

0 commit comments

Comments
 (0)