Disable installing native messenger for 'signed' builds

This commit is contained in:
Oliver Blanthorn 2019-09-23 07:40:05 +01:00
parent 394772d100
commit cf9c6a69e5
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
2 changed files with 15 additions and 13 deletions

View file

@ -52,14 +52,16 @@ scripts/newtab.md.sh
scripts/make_tutorial.sh
scripts/make_docs.sh
if [ "$(isWindowsMinGW)" = "True" ]; then
if [ "$1" != "--no-native" ]; then
if [ "$(isWindowsMinGW)" = "True" ]; then
powershell \
-NoProfile \
-InputFormat None \
-ExecutionPolicy Bypass \
native/win_install.ps1 -DebugDirBase native
else
else
native/install.sh local
fi
fi
(webpack --display errors-only --bail\

View file

@ -9,7 +9,7 @@ sign_and_submit() {
publish_beta_nonewtab() {
yarn run clean
yarn run build
yarn run build --no-native
scripts/version.js beta
sed 's/tridactyl.vim.betas@cmcaine/tridactyl.vim.betas.nonewtab@cmcaine/' -i build/manifest.json
sed '/\s*"newtab":.*/d' -i build/manifest.json
@ -19,7 +19,7 @@ publish_beta_nonewtab() {
publish_beta() {
yarn run clean
yarn run build
yarn run build --no-native
scripts/version.js beta
sed 's/"name": "Tridactyl"/"name": "Tridactyl: Beta"/' -i build/manifest.json
sign_and_submit
@ -27,7 +27,7 @@ publish_beta() {
build_no_sign_beta(){
yarn run clean
yarn run build
yarn run build --no-native
scripts/version.js beta
sed 's/"name": "Tridactyl"/"name": "Tridactyl: Beta"/' -i build/manifest.json
mkdir -p web-ext-artifacts
@ -39,7 +39,7 @@ build_no_sign_beta(){
build_no_sign_stable(){
yarn run clean
yarn run build
yarn run build --no-native
sed 's/tridactyl.vim.betas@cmcaine/tridactyl.vim@cmcaine/' -i build/manifest.json
mkdir -p web-ext-artifacts
$(yarn bin)/web-ext build --source-dir ./build --overwrite-dest
@ -50,7 +50,7 @@ build_no_sign_stable(){
publish_stable() {
yarn run clean
yarn run build
yarn run build --no-native
sed 's/tridactyl.vim.betas@cmcaine/tridactyl.vim@cmcaine/' -i build/manifest.json
sign_and_submit
tar --exclude-from=.gitignore -czf ../../public_html/betas/tridactyl_source.tar.gz .