-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Chrome extension version number.
It was wrong because we did not use the modified files in tmp/ Also rename the unsigned Firefox extensions as .zip instead of .xpi
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ fi | |
cd tmp | ||
if [ "${TAG}zz" == "zz" ]; then | ||
echo "Packaging unsigned Firefox extension, version $VERSION" | ||
zip -r ../build/kiwix-firefox-unsigned-extension-$VERSION.xpi www webextension manifest.json LICENSE-GPLv3.txt service-worker.js README.md | ||
zip -r ../build/kiwix-firefox-unsigned-extension-$VERSION.zip www webextension manifest.json LICENSE-GPLv3.txt service-worker.js README.md | ||
|
||
if [ "${DRYRUN}zz" == "zz" ]; then | ||
# Sign the extension with the Mozilla API through web-ext, if we're not packaging a public version | ||
|
@@ -56,6 +56,6 @@ else | |
sed -i -e "s/[email protected]/[email protected]/" manifest.json | ||
|
||
echo "Packaging unsigned 'listed' Firefox extension, version $VERSION" | ||
zip -r ../build/kiwix-firefox-unsigned-listed-extension-$VERSION.xpi www webextension manifest.json LICENSE-GPLv3.txt service-worker.js README.md | ||
zip -r ../build/kiwix-firefox-unsigned-listed-extension-$VERSION.zip www webextension manifest.json LICENSE-GPLv3.txt service-worker.js README.md | ||
echo "This unsigned extension must be manually uploaded to Mozilla to be signed and distributed from their store" | ||
fi |