mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 13:32:59 +08:00
Make CI script work independently from your cwd
This commit is contained in:
@ -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:-}"
|
||||||
|
Reference in New Issue
Block a user