Skip to content

Commit

Permalink
Merge pull request #5584 from LiskHQ/update-notarization-variables
Browse files Browse the repository at this point in the history
Updated notarization variables to use environment variables
  • Loading branch information
shuse2 authored May 16, 2024
2 parents b42c988 + ab574cb commit ef202ed
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
REACT_APP_MAPBOX_ACCESS_TOKEN=
APPLE_TEAM_ID=
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"PRODUCTION": true,
"LISK_DOMAIN": true,
"REACT_APP_DEFAULT_NETWORK": true,
"REACT_APP_MAPBOX_ACCESS_TOKEN": true
"REACT_APP_MAPBOX_ACCESS_TOKEN": true,
"APPLE_TEAM_ID": true
},
"env": {
"es2020": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"entitlements": "build/entitlements.plist",
"entitlementsInherit": "build/entitlements.plist",
"notarize": {
"teamId": ""
"teamId": "${APPLE_TEAM_ID}"
},
"target": {
"target": "default",
Expand Down
1 change: 1 addition & 0 deletions setup/config/webpack.config.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ const config = {
LISK_DOMAIN: '"https://lisk.com"',
REACT_APP_DEFAULT_NETWORK: `"${process.env.DEFAULT_NETWORK}"`,
REACT_APP_MAPBOX_ACCESS_TOKEN: `"${process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}"`,
APPLE_TEAM_ID: `"${process.env.APPLE_TEAM_ID}"`,
}),
new StyleLintPlugin({
context: `${path.resolve(__dirname, '../../src')}`,
Expand Down
1 change: 1 addition & 0 deletions setup/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ module.exports = {
VERSION: '',
REACT_APP_DEFAULT_NETWORK: 'undefined',
REACT_APP_MAPBOX_ACCESS_TOKEN: 'pk.eyJ1Ij',
APPLE_TEAM_ID: '',
LISK_ENABLE_DEV_TOOL: false,
LISK_DOMAIN: 'https://lisk.com',
},
Expand Down

0 comments on commit ef202ed

Please sign in to comment.