From b32b4edf3d1167f87cb3f4aaf1acd3d5378cefb3 Mon Sep 17 00:00:00 2001 From: Max <35831069+maxloh@users.noreply.github.com> Date: Thu, 9 Sep 2021 00:11:20 +0800 Subject: [PATCH] fix: run postinstall script explicitly with bash (#4116) 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 fe788d7c..838c6551 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