Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5b4d405

Browse files
simo5jborean93
authored andcommitted
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 <simo@redhat.com>
1 parent 6ec1927 commit 5b4d405

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎ci/before-deploy.sh‎

Lines changed: 4 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /