Skip to content

Commit 0e1fed3

Browse files
committed
Make CI script work independently from your cwd
1 parent e9fce80 commit 0e1fed3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/ci.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ function local-build() {
5959

6060
# Build code-server in the CI.
6161
function main() {
62+
cd "$(dirname "${0}")/.."
63+
6264
local codeServerVersion="${VERSION:-}"
6365
local vscodeVersion="${VSCODE_VERSION:-}"
6466
local ostype="${OSTYPE:-}"

0 commit comments

Comments
 (0)