Skip to content
Snippets Groups Projects
Commit bdd0af8b authored by David Byers's avatar David Byers
Browse files

Make build.sh variables work with /

parent a26d258a
No related branches found
No related tags found
1 merge request!8Beta
Pipeline #33290 passed with warnings
...@@ -110,10 +110,10 @@ for target in "${TARGETS[@]}" ; do ...@@ -110,10 +110,10 @@ for target in "${TARGETS[@]}" ; do
"${manifests[@]}" \ "${manifests[@]}" \
> "$targetdir/manifest.json" > "$targetdir/manifest.json"
sed -i -e "s/%XPIFILE%/$xpifile/g" "$targetdir/manifest.json" sed -i -e "s|%XPIFILE%|$xpifile|g" "$targetdir/manifest.json"
sed -i -e "s/%VERSION%/$version/g" "$targetdir/manifest.json" sed -i -e "s|%VERSION%|$version|g" "$targetdir/manifest.json"
sed -i -e "s/%VERSION_NAME%/$version_name/g" "$targetdir/manifest.json" sed -i -e "s|%VERSION_NAME%|$version_name|g" "$targetdir/manifest.json"
sed -i -e "s/%PAGES_URL%/$CI_PAGES_URL/g" "$targetdir/manifest.json" sed -i -e "s|%PAGES_URL%|$CI_PAGES_URL|g" "$targetdir/manifest.json"
sed -i -e "s/%PROJECT_URL%/$CI_PROJECT_URL/g" "$targetdir/manifest.json" sed -i -e "s|%PROJECT_URL%|$CI_PROJECT_URL|g" "$targetdir/manifest.json"
done done
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
Links. Download the stable extension using your browser or Links. Download the stable extension using your browser or
mail program, or join the beta crowd here. mail program, or join the beta crowd here.
<br /> <br />
<span class="small">Most recent build: %BUILDDATE%</span> <span class="small">Most recent build: %BUILDDATE% UTC</span>
</div><!--//tagline--> </div><!--//tagline-->
</div><!--//container--> </div><!--//container-->
</header><!--//header--> </header><!--//header-->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment