Skip to content

Commit 9c05b53

Browse files
Fix the sha for the deb when signing is enabled (#188)
1 parent af51edf commit 9c05b53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-scripts/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,9 @@ def copy_extension(extension_uuid, extension_dir_name):
713713
run_cmd(["dpkg-sig", "-k", signer.gpg_id, "-s", "builder", deb_output.deb_path], env=signer.gpg_env())
714714
run_cmd(["dpkg-sig", "-l", deb_output.deb_path], env=signer.gpg_env())
715715
run_cmd(["gpg", "--verify", deb_output.deb_path], env=signer.gpg_env())
716+
deb_output.sha_path = generate_sha(
717+
deb_output.deb_path
718+
) # Need to regenerate the sha since the signature is embedded inside the deb
716719

717720
signer.clean()
718721

0 commit comments

Comments
 (0)