aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-11-19 11:26:47 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-11-19 11:26:47 +0100
commit7eccc88d90b9e4967199519b3adf2e189ec02235 (patch)
tree081870f346c56e5dc9476b33989b2ff49df75c52
parent87175f0a42dca37fee80bbf05a9627de56213abe (diff)
downloadbugzilla-triage-7eccc88d90b9e4967199519b3adf2e189ec02235.tar.gz
We have to munge install.rdf to work with wide variety of Firefoxes on Fedora.1.5.2
Fixes #118.
-rw-r--r--Makefile3
-rw-r--r--package.json2
-rw-r--r--update.rdf15
3 files changed, 19 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 973f887..10aed5c 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,9 @@ local-install: bugzilla-triage-$(VERNO).xpi update.rdf
bugzilla-triage-$(VERNO).xpi: package.json lib/*.js
cfx xpi --update-link=$(UPSTREAM_XPI_URL) --update-url=$(UPDATE_URL)
+ unzip -q bugzilla-triage.xpi install.rdf
+ sed -i -e '/em:minVersion/s!>[0-9.]*<!>7.0<!' install.rdf
+ zip -9qmT bugzilla-triage.xpi install.rdf
tidy -i -xml -utf8 -m bugzilla-triage.update.rdf
mv bugzilla-triage.xpi bugzilla-triage-$(VERNO).xpi
diff --git a/package.json b/package.json
index 7e7ab62..ea3a06c 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"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) and MPL",
- "version": "1.5.1",
+ "version": "1.5.2",
"contributors": [
"Ehsan Akhgari (http://ehsanakhgari.org/) <ehsan@mozilla.com>",
"Johnathan Nightingale (http://johnath.com) <johnath@mozilla.com>",
diff --git a/update.rdf b/update.rdf
index 7a03d55..47ab4bd 100644
--- a/update.rdf
+++ b/update.rdf
@@ -232,6 +232,21 @@ xmlns:em="http://www.mozilla.org/2004/em-rdf#">
</em:targetApplication>
</Description>
</li>
+ <li>
+ <Description>
+ <em:version>1.5.2</em:version>
+ <em:targetApplication>
+ <Description>
+ <em:id>
+ {ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>8.0</em:minVersion>
+ <em:maxVersion>11.0a1</em:maxVersion>
+ <em:updateLink>
+ https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-1.5.2.xpi</em:updateLink>
+ </Description>
+ </em:targetApplication>
+ </Description>
+ </li>
</Seq>
</em:updates>
</Description>