not generate code source in CI
This commit is contained in:
@@ -146,14 +146,6 @@ jobs:
|
|||||||
# dist-zip/simplelogin-extension-beta-firefox-v... can be submitted to firefox
|
# dist-zip/simplelogin-extension-beta-firefox-v... can be submitted to firefox
|
||||||
SUFFIX=firefox npm run build-zip
|
SUFFIX=firefox npm run build-zip
|
||||||
|
|
||||||
# create the code source for firefox reviewer
|
|
||||||
rm -rf code-for-reviewer && mkdir code-for-reviewer
|
|
||||||
# copy the minimum files
|
|
||||||
cp -r src LICENSE CHANGELOG scripts package.json package-lock.json webpack.config.js .dev.sample.json .babelrc code-for-reviewer
|
|
||||||
# override the readme
|
|
||||||
cp reviewers/firefox-beta.md code-for-reviewer/README.md
|
|
||||||
|
|
||||||
|
|
||||||
- name: Build production version for Firefox
|
- name: Build production version for Firefox
|
||||||
if: matrix.variant == 'beta-firefox'
|
if: matrix.variant == 'beta-firefox'
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -164,13 +156,6 @@ jobs:
|
|||||||
# dist-zip/simplelogin-extension-beta-firefox-v... can be submitted to firefox
|
# dist-zip/simplelogin-extension-beta-firefox-v... can be submitted to firefox
|
||||||
SUFFIX=firefox npm run build-zip
|
SUFFIX=firefox npm run build-zip
|
||||||
|
|
||||||
# create the code source for firefox reviewer
|
|
||||||
rm -rf code-for-reviewer && mkdir code-for-reviewer
|
|
||||||
# copy the minimum files
|
|
||||||
cp -r src LICENSE CHANGELOG scripts package.json package-lock.json webpack.config.js .dev.sample.json .babelrc code-for-reviewer
|
|
||||||
# override the readme
|
|
||||||
cp reviewers/firefox.md code-for-reviewer/README.md
|
|
||||||
|
|
||||||
- name: Build production version for Chromium
|
- name: Build production version for Chromium
|
||||||
if: matrix.variant == 'full'
|
if: matrix.variant == 'full'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -72,6 +72,36 @@ npm run prettier:write
|
|||||||
4. Wait until the CI process generates the extension ZIP and uploads it to GitHub. You will be able to find the generated zip as an artifact attached to the [GitHub release](https://github.com/simple-login/browser-extension/releases).
|
4. Wait until the CI process generates the extension ZIP and uploads it to GitHub. You will be able to find the generated zip as an artifact attached to the [GitHub release](https://github.com/simple-login/browser-extension/releases).
|
||||||
5. Upload the extension to the Chrome, Firefox and Edge stores.
|
5. Upload the extension to the Chrome, Firefox and Edge stores.
|
||||||
|
|
||||||
|
### Firefox
|
||||||
|
|
||||||
|
For Firefox, the code source must be submitted too. To faciliate the review process, the code source can be generated using the following script
|
||||||
|
|
||||||
|
For beta version:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# create the code source for firefox reviewer
|
||||||
|
rm -rf code-for-reviewer && mkdir code-for-reviewer
|
||||||
|
|
||||||
|
# copy the minimum files
|
||||||
|
cp -r src LICENSE CHANGELOG scripts package.json package-lock.json webpack.config.js .dev.sample.json .babelrc code-for-reviewer
|
||||||
|
|
||||||
|
# override the readme
|
||||||
|
cp reviewers/firefox-beta.md code-for-reviewer/README.md
|
||||||
|
```
|
||||||
|
|
||||||
|
For prod version
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# create the code source for firefox reviewer
|
||||||
|
rm -rf code-for-reviewer && mkdir code-for-reviewer
|
||||||
|
|
||||||
|
# copy the minimum files
|
||||||
|
cp -r src LICENSE CHANGELOG scripts package.json package-lock.json webpack.config.js .dev.sample.json .babelrc code-for-reviewer
|
||||||
|
|
||||||
|
# override the readme
|
||||||
|
cp reviewers/firefox.md code-for-reviewer/README.md
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## How to build the extension locally
|
## How to build the extension locally
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user