Skip to content

Commit 6c76814

Browse files
committed
prepare for publish
1 parent 985a825 commit 6c76814

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.idea
2+
.vscode
3+
web-ext-artifacts/
4+
*.zip
5+
.env

manifest.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,11 @@
2929
"contextMenus",
3030
"activeTab",
3131
"webNavigation"
32-
]
32+
],
33+
"browser_specific_settings": {
34+
"gecko": {
35+
36+
"strict_min_version": "101.0"
37+
}
38+
}
3339
}

package.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
if [ ! -f .env ]; then
4+
echo put WEB_EXT_API_KEY= and WEB_EXT_API_SECRET= in .env
5+
exit 1
6+
fi
7+
8+
# shellcheck source=.env
9+
source .env
10+
11+
set -e
12+
13+
web-ext lint --output json --pretty >web-ext-artifacts/lint.json
14+
web-ext build --overwrite-dest
15+
web-ext sign --no-input

0 commit comments

Comments
 (0)