Skip to content

Commit

Permalink
Move all plugin sources to subdirectory
Browse files Browse the repository at this point in the history
This simplifies the build script.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Mar 21, 2024
1 parent ed45987 commit 1797e70
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ fi


rm -f zotero-ocr-${version}.xpi
zip -r zotero-ocr-${version}.xpi chrome/* defaults/* chrome.manifest install.rdf
cd src
zip -9r ../zotero-ocr-${version}.xpi *
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ read -p "Enter new version number: " version
## Update install.rdf
##############

perl -pi -e "s/em:version=\"[^\"]*/em:version=\"$version/;" "install.rdf"
perl -pi -e "s/em:version=\"[^\"]*/em:version=\"$version/;" src/install.rdf
rm "install.rdf.bak"
git add "install.rdf"
git add src/install.rdf


##############
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1797e70

Please sign in to comment.