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.

16 lines
276 B
Bash

#!/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