This repository has been archived by the owner on Dec 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from mozilla/fix-releases
Fix deploy script and other changes.
- Loading branch information
Showing
6 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ set -e | |
|
||
ADDON_ID="[email protected]" | ||
ADDON_VERSION=${CIRCLE_TAG:1} | ||
ADDON_FILE="web-ext-artifacts/firefox_shopping-${ADDON_VERSION}-signed.xpi" | ||
ADDON_FILE="web-ext-artifacts/price_wise-${ADDON_VERSION}-signed.xpi" | ||
test -f $ADDON_FILE | ||
|
||
MAX_AGE=30 # We can up this at some point, but keeping it low while we work out the kinks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ body { | |
font-size: 13px; | ||
margin: 0; | ||
max-height: 600px; | ||
overflow: auto; | ||
padding: 0; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
/** | ||
* Config values that are shared between files or otherwise useful to have in | ||
* a separate file. Config values can be overridden by setting a pref at the | ||
* subtree [email protected]. | ||
* subtree extensions.shopping-testpilot@mozilla.org.prefName. | ||
* | ||
* Content scripts cannot access the preference API, and thus cannot use this | ||
* module to get config values. Use commerce/config/content instead to use | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
this.shoppingPrefs = class extends ExtensionAPI { | ||
getAPI() { | ||
const {Services} = ChromeUtils.import('resource://gre/modules/Services.jsm', {}); | ||
const branch = Services.prefs.getBranch('[email protected].'); | ||
const branch = Services.prefs.getBranch('extensions.shopping-testpilot@mozilla.org.'); | ||
return { | ||
shoppingPrefs: { | ||
async getBoolPref(prefName, defaultValue) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module.exports = { | ||
run: { | ||
pref: [ | ||
'[email protected]=30000', | ||
'[email protected]=30000', | ||
'[email protected]=10000', | ||
'extensions.shopping-testpilot@mozilla.org.priceCheckInterval=30000', | ||
'extensions.shopping-testpilot@mozilla.org.priceCheckTimeoutInterval=30000', | ||
'extensions.shopping-testpilot@mozilla.org.iframeTimeout=10000', | ||
'network.cookie.cookieBehavior=3', // See Issue #183 | ||
], | ||
startUrl: [ | ||
|