Archived
1
0

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.
This commit is contained in:
Asher 2020-10-12 17:26:50 -05:00
parent ea105a9290
commit ec564091f1
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

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