From 06aa7851936d5c2699127af9ed4fe78d4c536b45 Mon Sep 17 00:00:00 2001 From: Max <35831069+maxloh@users.noreply.github.com> Date: Wed, 8 Sep 2021 03:22:56 +0800 Subject: [PATCH] fix: run postinstall script explicitly with bash Currently, Windows default script-shell (cmd) fails to run the postinstall script. This commit fixes the problem by running postinstall.sh explicitly with the default bash executable of the OS. Related: #1397 --- ci/build/build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/build/build-release.sh b/ci/build/build-release.sh index fe788d7c886d..838c6551c8ab 100755 --- a/ci/build/build-release.sh +++ b/ci/build/build-release.sh @@ -48,7 +48,7 @@ bundle_code_server() { { "commit": "$(git rev-parse HEAD)", "scripts": { - "postinstall": "./postinstall.sh" + "postinstall": "bash ./postinstall.sh" } } EOF