Skip to content

Commit

Permalink
Naively try the script from v50
Browse files Browse the repository at this point in the history
  • Loading branch information
twometresteve committed Jul 24, 2024
1 parent f528aa7 commit 2207d7a
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions features/scripts/build-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,12 @@ git clean -xfdf
# And the yarn cache is clean
yarn cache clean --all

# Install expo requirements
npm install --legacy-peer-deps

# Bump package versions to a high value so only our values will match
npx lerna version 999.999.999 --no-git-tag-version --no-push --no-changelog --yes

# Pack the packages and move them to the test fixture
npm pack packages/*/
mv *.tgz features/fixtures/test-app
# Install repo dependencies
yarn install

cd features/fixtures/test-app

# Install the bugsnag-expo-cli and run setup
npm install bugsnag-expo-cli*.tgz
# Set the api key via the CLI
./run-bugsnag-expo-cli

# Set EAS Project ID
Expand All @@ -29,13 +21,8 @@ sed -i '' "s/EXPO_EAS_PROJECT_ID/$EXPO_EAS_PROJECT_ID/g" app.json
# set bugsnag-js override versions if this build was triggered from the bugsnag-js repo
./set-bugsnag-js-overrides $BUGSNAG_JS_BRANCH $BUGSNAG_JS_COMMIT

# install the remaining packages, this also re-installs the correct @bugsnag/expo version
npm install *.tgz
npm install
yarn import

./run-bugsnag-expo-cli-install

cp $EXPO_CREDENTIALS_DIR/* .
cp $EXPO_UNIVERSAL_CREDENTIALS_DIR/* .

echo "Common setup complete"

0 comments on commit 2207d7a

Please sign in to comment.