Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Exclude react-native from CI publish (#211)
Browse files Browse the repository at this point in the history
We are skipping react-native until we have a solution for the problem described here: expo/expo#1767

If expo will not resolve then we will have to find another workaround
  • Loading branch information
robertjd authored and robertdamphousse-okta committed May 18, 2018
1 parent f4b5f3c commit df20346
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions scripts/publish_registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ dirs.forEach(name => {
const pkg = require(`${moduleDir}/package`);
const moduleWithVersion = `${pkg.name}@${pkg.version}`;

if (pkg.name === '@okta/okta-react-native') {
// We are skipping react-native until we have a solution for the problem described here: https://github.com/expo/expo/issues/1767
// If expo will not resolve then we will have to find another workaround
console.log(`Skipping ${pkg.name}`);
return;
}

console.log(`Checking if ${moduleWithVersion} exists`);

let isInPublicNpm = false;
Expand Down
5 changes: 4 additions & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ npm install -g [email protected]
# Install required dependencies
npm install -g lerna

if ! lerna bootstrap; then
# We are skipping react-native until we have a solution for the problem described here: https://github.com/expo/expo/issues/1767
# If expo will not resolve then we will have to find another workaround

if ! lerna bootstrap --ignore "@okta/okta-react-native"; then
echo "lerna bootstrap failed! Exiting..."
exit ${FAILED_SETUP}
fi

0 comments on commit df20346

Please sign in to comment.