Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: install.rdf.tmpl

Issue 29323478: Issue 2897 - Don`t add updateURL to Firefox development builds (Closed)
Patch Set: Created Aug. 12, 2015, 11:53 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: install.rdf.tmpl
===================================================================
--- a/install.rdf.tmpl
+++ b/install.rdf.tmpl
@@ -22,19 +22,19 @@
<em:description>{{localeMetadata[defaultLocale].description}}</em:description>
{{ meta() }}
{%- if metadata.has_option('homepage', 'default') %}
<em:homepageURL>{{metadata.get('homepage', 'default')}}</em:homepageURL>
{%- endif %}
<em:type>2</em:type>
<em:bootstrap>true</em:bootstrap>
- {%- if not releaseBuild or metadata.has_option('general', 'updateURL') %}
+ {%- if metadata.has_option('general', 'updateURL') %}
<em:updateURL>
- {{- metadata.get('general', 'updateURL') if releaseBuild else 'https://adblockplus.org/devbuilds/%s/update.rdf' % metadata.get('general', 'basename') -}}
+ {{- metadata.get('general', 'updateURL') -}}
{{- '?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%' -}}
</em:updateURL>
{%- endif %}
{%- if metadata.has_option('general', 'icon') %}
<em:iconURL>{{metadata.get('general', 'icon')}}</em:iconURL>
{%- endif %}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld