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:
Oliver Blanthorn 2019-08-30 11:57:35 +01:00
parent 019fc2c31b
commit d536329970
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -25,6 +25,30 @@ publish_beta() {
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() {
yarn run clean
yarn run build