fix TOTAL_BUNDLES sed command in deploy script
This commit is contained in:
parent
21f2a75ed3
commit
ddeb8bc504
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ cp "$FRONTEND_DIR/index.html" "$TMPDIR/index.html"
|
|||
cp "$FRONTEND_DIR/site.js" "$TMPDIR/site.js"
|
||||
cp "$FRONTEND_DIR/bot.html" "$TMPDIR/bot.html"
|
||||
|
||||
sed -i "s/const TOTAL_BUNDLES = .*/const TOTAL_BUNDLES = ${TOTAL_BUNDLES};/" "$TMPDIR/index.html"
|
||||
sed -i "s/const TOTAL_BUNDLES = [0-9]*/const TOTAL_BUNDLES = ${TOTAL_BUNDLES}/" "$TMPDIR/index.html"
|
||||
echo "Injected TOTAL_BUNDLES = $TOTAL_BUNDLES"
|
||||
|
||||
# Upload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue