You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
279 B
Bash
15 lines
279 B
Bash
2 years ago
|
#!/usr/bin/bash
|
||
|
PWD=$(pwd)
|
||
|
BASE_DIR=${PWD}/base
|
||
|
MANIFEST_DIR=${PWD}/firefox
|
||
|
OUT="../out/artifacts/firefox/extension.zip"
|
||
|
|
||
|
echo $BASE_DIR
|
||
|
echo $MANIFEST_DIR
|
||
|
echo $OUT
|
||
|
|
||
|
rm -f ${OUT}
|
||
|
cd "$BASE_DIR" || return
|
||
|
zip -r ${OUT} *
|
||
|
cd "${MANIFEST_DIR}" || return
|
||
|
zip -r ${OUT} manifest.json
|