Skip to content
This repository has been archived by the owner on Dec 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #215 from mozilla/fix-releases
Browse files Browse the repository at this point in the history
Fix deploy script and other changes.
  • Loading branch information
Osmose authored Oct 26, 2018
2 parents d04ef1e + 58d5c20 commit 2daefd3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/deploy_addon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/browser_action/components/EmptyOnboarding.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
display: flex;
flex-direction: column;
gap: 16px;
margin: 16px;
margin: 16px auto;
text-align: center;
width: 288px;
}

.empty-onboarding .hero {
Expand Down
1 change: 1 addition & 0 deletions src/browser_action/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ body {
font-size: 13px;
margin: 0;
max-height: 600px;
overflow: auto;
padding: 0;
}

Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/experiment_apis/shoppingPrefs/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions web-ext-config.js
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: [
Expand Down

0 comments on commit 2daefd3

Please sign in to comment.