aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--package.json2
-rw-r--r--update.rdf31
3 files changed, 38 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 300a811..89986f6 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,12 @@ bugzilla-triage.xpi: package.json lib/*.js docs/*
cfx xpi ;\
unzip -qqo bugzilla-triage.xpi install.rdf ;\
sed -i -e \
- 's!<em:minVersion>3.5</em:minVersion>!<em:minVersion>3.6</em:minVersion>!' \
- install.rdf ;\
+ 's!<em:minVersion>3.5</em:minVersion>!<em:minVersion>3.6</em:minVersion>!' \
+ -e '/em:creator/a\
+ <em:iconURL>https://fedorahosted.org/released/bugzilla-triage-scripts/icon.png</em:iconURL>\
+ <em:updateURL>https://fedorahosted.org/released/bugzilla-triage-scripts/update.rdf</em:updateURL>\
+ ' \
+ install.rdf ;\
zip -9rmqT bugzilla-triage.xpi install.rdf ;\
fix:
diff --git a/package.json b/package.json
index cb6b1cf..da1e13f 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"dependencies": [
"jetpack-core"
],
- "fullName": "Help for triage on bugzilla",
+ "fullName": "bugzilla-triage-scripts",
"description": "Additional buttons and other function helping in the triage on bugzilla",
"author": "Matej Cepl (http://matej.ceplovi.cz)",
"license": "MIT/X11 (http://opensource.org/licenses/mit-license.php)",
diff --git a/update.rdf b/update.rdf
new file mode 100644
index 0000000..24c9364
--- /dev/null
+++ b/update.rdf
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+ <!-- Foo Widget Extension -->
+ <RDF:Description about="urn:mozilla:extension:jid0-uXmbeWgOltUUuqrHKhrR7hW3IQY@jetpack">
+ <em:updates>
+ <RDF:Seq>
+ <RDF:li>
+ <RDF:Description>
+ <em:version>0.15</em:version> <!-- This is the version number of the add-on -->
+ <!-- One targetApplication for each application the add-on is compatible with -->
+ <em:targetApplication>
+ <RDF:Description>
+ <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>3.6</em:minVersion>
+ <em:maxVersion>4.*</em:maxVersion>
+ </RDF:Description>
+ </em:targetApplication>
+ <!-- This is where this version of the add-on will be downloaded from -->
+ <em:updateLink>https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-0.15.xpi</em:updateLink>
+
+ <!-- A page describing what is new in this updated version -->
+ <em:updateInfoURL>https://fedorahosted.org/bugzilla-triage-scripts/wiki/ChangeLog</em:updateInfoURL>
+ <em:updateHash>e5009393f1ae052efb221d948a7fbb520f68e776</em:updateHash>
+ </RDF:Description>
+ </RDF:li>
+ </RDF:Seq>
+ </em:updates>
+ </RDF:Description>
+
+</RDF:RDF>