Skip to content

Commit 3291054

Browse files
committed
Upload doc folder along with a package
1 parent f872247 commit 3291054

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build/build_board_manager_package.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,12 @@ cat << EOF > package_esp8266com_index.json
162162
}
163163
EOF
164164

165+
165166
if [ ! -z "$upload" ]; then
166-
scp $outdir.zip dl:apps/download_files/download/$path
167-
scp package_esp8266com_index.json dl:apps/download_files/download/$path
167+
remote_path=dl:apps/download_files/download/$path
168+
scp $outdir.zip $remote_path
169+
scp package_esp8266com_index.json $remote_path
170+
scp -r $srcdir/doc $remote_path
168171
else
169172
python -m SimpleHTTPServer
170173
fi

0 commit comments

Comments
 (0)