From c713493da9351c9023e9b7cd3978d8df0317da1b Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Thu, 8 Aug 2024 18:02:25 +0200 Subject: [PATCH] please.sh: add asciidoctor to build-installers In an earlier commit, Git for Windows switched from its own *-asciidoctor-extensions package to the MSYS2-provided *-asciidoctor package. However, ARM64 pipelines that use the build-artifacts SDK flavor now complain that the asciidoctor binary isn't available. This commit should ensure that Asciidoctor becomes available. Ref: https://github.com/git-for-windows/build-extra/commit/eb16e991b8f0bfebc367a4d900585883547032ba Signed-off-by: Dennis Ameling --- please.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/please.sh b/please.sh index 1c7d58d14f..7babfb71ac 100755 --- a/please.sh +++ b/please.sh @@ -3327,6 +3327,14 @@ create_sdk_artifact () { # [--out=] [--git-sdk=] [--archit # BusyBox $PREFIX/bin/busybox.exe + + # Asciidoctor (requires Ruby to run) + $PREFIX/bin/asciidoctor + $PREFIX/bin/asciidoctor.bat + $PREFIX/lib/ruby/ + $PREFIX/bin/ruby.exe + $PREFIX/bin/ruby*.dll + EOF mkdir -p "$output_path/.sparse" && cp "$sparse_checkout_file" "$output_path/.sparse/build-installers"