8000 Only chmod 644 files that `sigstore sign` produced just now · python/release-tools@6846215 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6846215

Browse files
committed
Only chmod 644 files that sigstore sign produced just now
1 parent 21e1ada commit 6846215

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

add-to-pydotorg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ def has_sigstore_signature(filename):
243243
if unsigned_files:
244244
print('Signing release files with Sigstore')
245245
run_cmd(['python3', '-m', 'sigstore', 'sign', '--oidc-disable-ambient-providers'] + unsigned_files)
246+
for file in unsigned_files:
247+
run_cmd(['chmod', '644', file + '.sig'])
248+
run_cmd(['chmod', '644', file + '.crt'])
246249
else:
247250
print('All release files already signed with Sigstore')
248251

0 commit comments

Comments
 (0)
0