google-meet-captions-regex/build.sh

12 lines
328 B
Bash
Raw Normal View History

2020-09-15 15:02:12 +02:00
#!/usr/bin/env bash
cd popup
yarn install
yarn build
cd ..
[[ -d web-ext-artifacts ]] || mkdir web-ext-artifacts
FILENAME="$(basename "$PWD")-$(jq -r .version manifest.json).zip"
zip -r "web-ext-artifacts/$FILENAME" LICENSE gmcr.js manifest.json popup/build/ icons/
zip -r "web-ext-artifacts/source-$FILENAME" $(git ls-files)