From ec564091f183987333806bab432bc49062561b4a Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 12 Oct 2020 17:26:50 -0500 Subject: [PATCH] Fix agent copy during release If there isn't a lib dir yet it'll copy as lib instead of getting put inside the directory. --- ci/build/build-release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/build/build-release.sh b/ci/build/build-release.sh index 8f71dc33..95579eb8 100755 --- a/ci/build/build-release.sh +++ b/ci/build/build-release.sh @@ -59,6 +59,7 @@ EOF if [ "$KEEP_MODULES" = 1 ]; then rsync node_modules/ "$RELEASE_PATH/node_modules" + mkdir -p "$RELEASE_PATH/lib" rsync ./lib/coder-cloud-agent "$RELEASE_PATH/lib" fi }