mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Start playing with no-sign building
Could also include installation to /usr/lib/firefox/browser/extensions/ but I haven't been able to get that to work with unsigned extensions yet.
This commit is contained in:
parent
019fc2c31b
commit
d536329970
1 changed files with 24 additions and 0 deletions
24
scripts/sign
24
scripts/sign
|
@ -25,6 +25,30 @@ publish_beta() {
|
||||||
sign_and_submit
|
sign_and_submit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_no_sign_beta(){
|
||||||
|
yarn run clean
|
||||||
|
yarn run build
|
||||||
|
scripts/version.js beta
|
||||||
|
sed 's/"name": "Tridactyl"/"name": "Tridactyl: Beta"/' -i build/manifest.json
|
||||||
|
mkdir -p web-ext-artifacts
|
||||||
|
web-ext build --source-dir ./build --overwrite-dest
|
||||||
|
for f in web-ext-artifacts/*.zip; do
|
||||||
|
mv $f ${f%.zip}.xpi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
build_no_sign_stable(){
|
||||||
|
yarn run clean
|
||||||
|
yarn run build
|
||||||
|
scripts/version.js beta
|
||||||
|
sed 's/tridactyl.vim.betas@cmcaine/tridactyl.vim@cmcaine/' -i build/manifest.json
|
||||||
|
mkdir -p web-ext-artifacts
|
||||||
|
web-ext build --source-dir ./build --overwrite-dest
|
||||||
|
for f in web-ext-artifacts/*.zip; do
|
||||||
|
mv $f ${f%.zip}.xpi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
publish_stable() {
|
publish_stable() {
|
||||||
yarn run clean
|
yarn run clean
|
||||||
yarn run build
|
yarn run build
|
||||||
|
|
Loading…
Add table
Reference in a new issue