Skip to content

Commit

Permalink
Publish LyZ to GitHub instead of mozilla.org
Browse files Browse the repository at this point in the history
  • Loading branch information
willsALMANJ committed Jan 14, 2018
1 parent 1201baa commit c29896b
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Features
* Persistent association of LyX documents and BibTeX databases.
* Support for group cooperation.

**NOTE:** As of version 4.0, LyZ is distributed from the [GitHub releases page](https://github.com/willsALMANJ/lyz/releases).
New updates will not be published to the location checked by previous versions of LyZ (the Mozilla Add-ons page).
To receive new LyZ updates, please update to the latest version of LyZ.

Installation and Settings
-------------------------
1. Download the lyz `.xpi` file from the [GitHub releases page](https://github.com/willsALMANJ/lyz/releases).
Expand Down
5 changes: 3 additions & 2 deletions addon/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

<Description about="urn:mozilla:install-manifest">
<em:id>lyz@zotero.org</em:id>
<em:version>3.0.3alpha1</em:version>
<em:version>4.0.0a1</em:version>
<em:multiprocessCompatible>true</em:multiprocessCompatible>
<em:updateURL>https://raw.githubusercontent.com/willsALMANJ/lyz/release/deploy/update.rdf</em:updateURL>
<em:type>2</em:type>
<em:unpack>true</em:unpack>
<!-- Target Application this extension can install into,
Expand Down Expand Up @@ -34,6 +35,6 @@
<em:name>LyZ</em:name>
<em:description>LyX integration plugin.</em:description>
<em:creator>Petr Šimon</em:creator>
<em:homepageURL>https://addons.mozilla.org/en-US/firefox/addon/lyz/</em:homepageURL>
<em:homepageURL>https://github.com/willsALMANJ/lyz</em:homepageURL>
</Description>
</RDF>
2 changes: 2 additions & 0 deletions deploy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.token
release
19 changes: 19 additions & 0 deletions deploy/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
github:
user: willsalmanj
repo: lyz
token: deploy/github.token
assets:
- path: build/lyz.xpi
type: application/x-xpinstall

git_release:
remote: origin
branch: release

version_strings:
- path: addon/install.rdf
pattern: (<em:version>)(?P<release>.*)(</em:version>)
- path: deploy/update.rdf
pattern: (<em:version>)(?P<release>.*)(</em:version>)
- path: deploy/update.rdf
pattern: (<em:updateLink>https://github.com/willsALMANJ/lyz/releases/download/v)(?P<release>.*)(/lyz.xpi</em:updateLink>)
42 changes: 42 additions & 0 deletions deploy/update.rdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<rdf:Description rdf:about="urn:mozilla:extension:lyz@zotero.org">
<em:updates>
<rdf:Seq>
<rdf:li>
<rdf:Description>
<em:version>3.0.2a1</em:version>
<em:targetApplication>
<rdf:Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>34.0</em:minVersion>
<em:maxVersion>56.*</em:maxVersion>
<em:updateLink>https://github.com/willsALMANJ/lyz/releases/download/v3.0.2a1/lyz.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

<em:targetApplication>
<rdf:Description>
<em:id>zotero@chnm.gmu.edu</em:id>
<em:minVersion>3.0b1</em:minVersion>
<em:maxVersion>*</em:maxVersion>
<em:updateLink>https://github.com/willsALMANJ/lyz/releases/download/v3.0.2a1/lyz.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

<em:targetApplication>
<rdf:Description>
<em:id>juris-m@juris-m.github.io</em:id>
<em:minVersion>4.0</em:minVersion>
<em:maxVersion>*</em:maxVersion>
<em:updateLink>https://github.com/willsALMANJ/lyz/releases/download/v3.0.2a1/lyz.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

</rdf:Description>
</rdf:li>
</rdf:Seq>
</em:updates>
</rdf:Description>
</rdf:RDF>

0 comments on commit c29896b

Please sign in to comment.