diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-02-12 14:26:31 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-02-12 14:26:31 +0300 |
commit | 4a879ea9a460dce7bfd32e5c4165a462ddcc2046 (patch) | |
tree | fcb5f093f3673ce1a57711c4ab955267bf44190c /src/platform | |
parent | d8a29178a625f4a5d849d9a4dafa8fdf791c3e1d (diff) |
Update build instructions
Diffstat (limited to 'src/platform')
-rw-r--r-- | src/platform/generic/html/build.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/platform/generic/html/build.html b/src/platform/generic/html/build.html index b5f2d68..70b99a6 100644 --- a/src/platform/generic/html/build.html +++ b/src/platform/generic/html/build.html @@ -29,7 +29,7 @@ <p> You need to clone the repository and initialize the submodules to in order to build the extension. <br> - The finished extension files will be placed in the "build" folder. + The compiled extension files will be placed in the "build" folder. </p> <code> git clone CI_PROJECT_URL.git @@ -52,6 +52,8 @@ <br> if [ "CI_COMMIT_REF_NAME" != "stable" ] ; then sed -i -e "s|BUILD|CI_PIPELINE_ID|g" ./build/manifest.json ; fi <br> + if [ "CI_COMMIT_REF_NAME" != "stable" ] ; then sed -i -e "s|\"gecko\": {|\"gecko\":{\"update_url\":\"CI_PROJECT_URL/firefox/CI_COMMIT_REF_NAME/updates.json\",|g" ./build/manifest.json ; fi + <br> sed -i -e "s|CI__COMMIT_REF_NAME|CI_COMMIT_REF_NAME|g" ./build/html/build.html <br> sed -i -e "s|CI__PROJECT_NAME|CI_PROJECT_NAME|g" ./build/html/build.html @@ -63,6 +65,8 @@ sed -i -e "s|CI__COMMIT_SHA|CI_COMMIT_SHA|g" ./build/html/build.html <br> sed -i -e "s|CI___|CI_|g" ./build/html/build.html + <br> + rm ./build/updates.json </code> <h1>Build for Chrome</h1> <code> |