Skip to content

Commit

Permalink
Update deploy script to make table-sort-js.zip.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeWannacott committed May 12, 2023
1 parent 82e92a6 commit 9bb6870
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file modified browser-extension/table-sort-js.zip
Binary file not shown.
8 changes: 8 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@ cp public/table-sort.js browser-extension/table-sort.js
cp README.md npm/README.md
cp LICENSE npm/LICENSE
cp Contributors.md npm/Contributors.md
cd browser-extension/
rm ./table-sort-js.zip
echo "zipping browser extension..."
zip -r -FS ./table-sort-js.zip * --exclude '*.git*'
cd ..
echo "running prettier..."
npx prettier --write .
echo "deploying..."
npm run deploy
echo "running tests..."
npm run test
echo "Reminder: Update npm package to new version in npm/package.json and npm publish."
echo "Reminder: Update firefox browser extension manifest."

0 comments on commit 9bb6870

Please sign in to comment.