diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-02-12 14:38:57 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-02-12 14:38:57 +0300 |
commit | 0eb8c945402897b6a176fa55c4ec1f28ef0b8d0b (patch) | |
tree | 0725fc09d91216e9b43ecb53ec080e70000ea5cd /src | |
parent | 4a879ea9a460dce7bfd32e5c4165a462ddcc2046 (diff) |
Update chrome build instructions
Diffstat (limited to 'src')
-rw-r--r-- | src/platform/generic/html/build.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/platform/generic/html/build.html b/src/platform/generic/html/build.html index 70b99a6..c4c8a37 100644 --- a/src/platform/generic/html/build.html +++ b/src/platform/generic/html/build.html @@ -52,7 +52,7 @@ <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 + if [ "CI_COMMIT_REF_NAME" == "testing" ] ; 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> @@ -76,6 +76,8 @@ <br> sed -i -e "s|99999|CI_PIPELINE_ID|g" ./build/manifest.json <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 <br> sed -i -e "s|CI__PROJECT_URL|CI_PROJECT_URL|g" ./build/html/build.html |