This commit is contained in:
Anmol Sethi
2020-02-18 23:31:40 -05:00
parent 76831f11fc
commit a065c12e83
4 changed files with 5 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ function main() {
for binary in code-server*; do
mkdir -p "../binary-upload"
local prefix="code-server-$code_server_version-"
local prefix="code-server-$VERSION-"
local target="${binary#$prefix}"
if [[ $target == "linux-x86_64" ]]; then
echo "Copying $binary to ../binary-upload/latest-linux"
@@ -43,7 +43,7 @@ function main() {
fi
local gcp_dir
gcp_dir="../binary-upload/releases/$code_server_version/$target"
gcp_dir="../binary-upload/releases/$VERSION/$target"
mkdir -p "$gcp_dir"
echo "Copying $binary to $gcp_dir/code-server"