mirror of
https://github.com/cdr/code-server.git
synced 2025-12-08 09:23:00 +01:00
Make CI script work independently from your cwd
This commit is contained in:
parent
e9fce801a0
commit
0e1fed3c24
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue