Make CI script work independently from your cwd
This commit is contained in:
parent
e9fce801a0
commit
0e1fed3c24
|
@ -59,6 +59,8 @@ function local-build() {
|
||||||
|
|
||||||
# Build code-server in the CI.
|
# Build code-server in the CI.
|
||||||
function main() {
|
function main() {
|
||||||
|
cd "$(dirname "${0}")/.."
|
||||||
|
|
||||||
local codeServerVersion="${VERSION:-}"
|
local codeServerVersion="${VERSION:-}"
|
||||||
local vscodeVersion="${VSCODE_VERSION:-}"
|
local vscodeVersion="${VSCODE_VERSION:-}"
|
||||||
local ostype="${OSTYPE:-}"
|
local ostype="${OSTYPE:-}"
|
||||||
|
|
Loading…
Reference in New Issue