summaryrefslogtreecommitdiffstats
path: root/testing/zipapp/make
diff options
context:
space:
mode:
Diffstat (limited to 'testing/zipapp/make')
-rwxr-xr-xtesting/zipapp/make3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/zipapp/make b/testing/zipapp/make
index a644946..8740b2f 100755
--- a/testing/zipapp/make
+++ b/testing/zipapp/make
@@ -99,6 +99,9 @@ def main() -> int:
shebang = '/usr/bin/env python3'
zipapp.create_archive(tmpdir, filename, interpreter=shebang)
+ with open(f'{filename}.sha256sum', 'w') as f:
+ subprocess.check_call(('sha256sum', filename), stdout=f)
+
return 0