diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9e98621..c918fb3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -146,14 +146,6 @@ jobs: # dist-zip/simplelogin-extension-beta-firefox-v... can be submitted to firefox 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 if: matrix.variant == 'beta-firefox' shell: bash @@ -164,13 +156,6 @@ jobs: # dist-zip/simplelogin-extension-beta-firefox-v... can be submitted to firefox 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 if: matrix.variant == 'full' shell: bash diff --git a/README.md b/README.md index c237ebd..1727782 100644 --- a/README.md +++ b/README.md @@ -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). 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