From 0e1fed3c24f2be627ee64f5a7204be78b25beb13 Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 10 Sep 2019 11:29:48 -0500 Subject: [PATCH] Make CI script work independently from your cwd --- scripts/ci.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci.bash b/scripts/ci.bash index e553854a..c5863b2f 100755 --- a/scripts/ci.bash +++ b/scripts/ci.bash @@ -59,6 +59,8 @@ function local-build() { # Build code-server in the CI. function main() { + cd "$(dirname "${0}")/.." + local codeServerVersion="${VERSION:-}" local vscodeVersion="${VSCODE_VERSION:-}" local ostype="${OSTYPE:-}" -- GitLab