Make CI script work independently from your cwd

This commit is contained in:
Asher 2019-09-10 11:29:48 -05:00
parent e9fce801a0
commit 0e1fed3c24
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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:-}"