forked from TussockyJoker/Aula-Fixer
add .env support
This commit is contained in:
3
build_scripts/build.sh
Executable file
3
build_scripts/build.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
web-ext build --source-dir=./src --artifacts-dir=./web-ext-artifacts
|
||||
@@ -1,6 +1,10 @@
|
||||
cd ..
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source .env
|
||||
|
||||
cd src
|
||||
mv manifest.json manifest_temp.json
|
||||
mv manifest_ff.json manifest.json
|
||||
web-ext sign --channel=listed --api-key=user: --api-secret=
|
||||
web-ext sign --channel=listed --api-key=user:$API_KEY --api-secret=$API_SECRET
|
||||
mv manifest.json manifest_ff.json
|
||||
mv manifest_temp.json manifest.json
|
||||
@@ -1,6 +1,10 @@
|
||||
cd ..
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source .env
|
||||
|
||||
cd src
|
||||
mv manifest.json manifest_temp.json
|
||||
mv manifest_ff.json manifest.json
|
||||
web-ext sign --channel=unlisted --api-key=user: --api-secret=
|
||||
web-ext sign --channel=unlisted --api-key=user:$API_KEY --api-secret=$API_SECRET
|
||||
mv manifest.json manifest_ff.json
|
||||
mv manifest_temp.json manifest.json
|
||||
Reference in New Issue
Block a user