Skip to content

Commit ad3d6a5

Browse files
committed
please.sh prerelease: code-sign portable Gits if possible
When the `signtool` alias is set, we already code-sign the installers. Let's do the same with the portable Gits. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 2ec2af5 commit ad3d6a5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

please.sh

+9
Original file line numberDiff line numberDiff line change
@@ -1698,6 +1698,15 @@ prerelease () { # [--installer | --portable | --mingit] [--only-64-bit] [--clean
16981698
die "Could not use package '%s' in '%s'\n" "$pkglist" "$sdk"
16991699
done
17001700

1701+
case " $modes " in
1702+
*" portable "*)
1703+
sign_files "$outputdir"/PortableGit-"$version"-64-bit.7z.exe &&
1704+
{ test -n "$only_64_bit" || sign_files \
1705+
"$outputdir"/PortableGit-"$version"-32-bit.7z.exe; } ||
1706+
die "Could not code-sign portable Git(s)\n"
1707+
;;
1708+
esac
1709+
17011710
test -z "$upload" || {
17021711
git -C "$git_src_dir" push git-for-windows "$tag_name" &&
17031712
publish_prerelease "$tag_name" "$outputdir"

0 commit comments

Comments
 (0)