diff --git a/.github/ISSUE_TEMPLATE/release.md b/.github/ISSUE_TEMPLATE/release.md deleted file mode 100644 index 661114595b6a2..0000000000000 --- a/.github/ISSUE_TEMPLATE/release.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -name: "🎢 Expo SDK release" -about: Issue template for SDK releases. Intended for repository maintainers only. -title: 'Release SDK' -labels: 'release' -assignees: '' - ---- - -## 🎢 SDK Release - -### [Stage 0 - Infra & Prerelease](https://git.io/JeKCx#stage-0---infra--prerelease) - -- [ ] [0.1. Dropping old SDKs](https://git.io/JeKCx#01-dropping-old-sdks) - - [ ] Android - - [ ] iOS -- [ ] [0.2. Update schema on staging](https://git.io/JeKCx#02-update-schema-on-staging) -- [ ] [0.3. Update versions on staging](https://git.io/JeKCx#03-update-versions-on-staging) - -### [Stage 1 - Unversioned Quality Assurance and Versioning](https://git.io/JeKCx#stage-1---unversioned-quality-assurance-and-versioning) - -- [ ] [1.1. Cutting off release branch](https://git.io/JeKCx#11-cutting-off-release-branch) -- [ ] [1.2. Update React Native](https://git.io/JeKCx#12-update-react-native) -- [ ] [1.3. Unversioned Quality Assurance](https://git.io/JeKCx#13-unversioned-quality-assurance) - - [ ] Android - - [ ] iOS -- [ ] [1.4. Versioning code for the new SDK](https://git.io/JeKCx#14-versioning-code-for-the-new-sdk) - - [ ] Android - - [ ] iOS -### [Stage 2 - Quality Assurance](https://git.io/JeKCx#stage-2---quality-assurance) - -- [ ] [2.1. Versioned Quality Assurance - iOS/Android clients](https://git.io/JeKCx#21-versioned-quality-assurance---iosandroid-clients) - - [ ] Android - - [ ] iOS -- [ ] [2.2. Standalone App Quality Assurance](https://git.io/JeKCx#22-standalone-app-quality-assurance) - - [ ] Android - - [ ] iOS -- [ ] [2.3. Web Quality Assurance](https://git.io/JeKCx#23-web-quality-assurance) -- [ ] [2.4. Cherry-pick Versioned Code to master](https://git.io/JeKCx#24-cherry-pick-versioned-code-to-master) - - [ ] Android - - [ ] iOS -- [ ] [2.5. Publish demo apps](https://git.io/JeKCx#25-publish-demo-apps) - - [ ] Publish to `applereview` account - - [ ] Publish to `community` account - -### [Stage 3 - Prerelease](https://git.io/JeKCx#stage-3---prerelease) - -- [ ] [3.1. Tag React Native fork](https://git.io/JeKCx#31-tag-react-native-fork) -- [ ] [3.2. Generate new mocks](https://git.io/JeKCx#32-generate-new-mocks) -- [ ] [3.3. Publishing next packages](https://git.io/JeKCx#33-publishing-next-packages) -- [ ] [3.4. Publishing next project templates](https://git.io/JeKCx#34-publishing-next-project-templates) - -### [Stage 4 - Expo client](https://git.io/JeKCx#stage-4---expo-client) - -- [ ] [4.1. Releasing beta version](https://git.io/JeKCx#41-releasing-beta-version) - - [ ] Android - - [ ] iOS -- [ ] [4.2. Making a simulator build](https://git.io/JeKCx#42-making-a-simulator-build) -- [ ] [4.3. Submit iOS client to App Store Review](https://git.io/JeKCx#43-submit-ios-client-to-app-store-review) -- [ ] [4.4. Release clients to external beta testers](https://git.io/JeKCx#44-release-clients-to-external-beta-testers) - - [ ] Android - - [ ] iOS - -### [Stage 5 - Standalone apps](https://git.io/JeKCx#stage-5---standalone-apps) - -- [ ] [5.1. Updating JS dependencies required for build](https://git.io/JeKCx#51-updating-js-dependencies-required-for-build) -- [ ] [5.2. Make shell app build](https://git.io/JeKCx#52-make-shell-app-build) - - [ ] Android - - [ ] iOS -- [ ] [5.3. Make adhoc client shell app for iOS](https://git.io/JeKCx#53-make-adhoc-client-shell-app-for-ios) -- [ ] [5.4. Deploy Turtle with new shell tarballs](https://git.io/JeKCx#54-deploy-turtle-with-new-shell-tarballs) - - [ ] Android - - [ ] iOS - -### [Stage 6 - Final release](https://git.io/JeKCx#stage-6---final-release) - -- [ ] [6.1. Release iOS/Android clients](https://git.io/JeKCx#61-release-iosandroid-clients) -- [ ] [6.2. Deploy Turtle to production](https://git.io/JeKCx#62-deploy-turtle-to-production) -- [ ] [6.3. Generate and deploy new docs](https://git.io/JeKCx#63-generate-and-deploy-new-docs) -- [ ] [6.4. Add related packages to versions endpoint](https://git.io/JeKCx#64-add-related-packages-to-versions-endpoint) -- [ ] [6.5. Promote versions to production](https://git.io/JeKCx#65-promote-versions-to-production) -- [ ] [6.6. Promote packages to latest on NPM registry](https://git.io/JeKCx#66-promote-packages-to-latest-on-npm-registry) -- [ ] [6.7. Publishing final project templates](https://git.io/JeKCx#67-publishing-final-project-templates) -- [ ] [6.8. Press release](https://git.io/JeKCx#68-press-release) -- [ ] [6.9. Follow-up](https://git.io/JeKCx#69-follow-up) - -### [Stage 7 - Snack](https://git.io/JeKCx#stage-7---snack) - -- [ ] [7.1. Add SDK support to Snack](https://git.io/JeKCx#71-add-sdk-support-to-snack) diff --git a/.github/workflows/android-instrumentation-tests.yml b/.github/workflows/android-instrumentation-tests.yml index d6c4571291243..296f78613f5f7 100644 --- a/.github/workflows/android-instrumentation-tests.yml +++ b/.github/workflows/android-instrumentation-tests.yml @@ -3,7 +3,7 @@ name: Android Instrumentation Tests on: workflow_dispatch: {} push: - branches: [master] + branches: [main] paths: - .github/workflows/android-instrumentation-tests.yml - 'fastlane/**' diff --git a/.github/workflows/android-unit-tests.yml b/.github/workflows/android-unit-tests.yml index 9c5ddd8c24c99..e7599fd082c93 100644 --- a/.github/workflows/android-unit-tests.yml +++ b/.github/workflows/android-unit-tests.yml @@ -3,7 +3,7 @@ name: Android Unit Tests on: workflow_dispatch: {} push: - branches: [master] + branches: [main] paths: - .github/workflows/android-unit-tests.yml - android/** diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 2c0651d36f34c..6c872f8a2cb52 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -2,7 +2,7 @@ name: CLI on: push: - branches: [master, 'sdk-*'] + branches: [main, 'sdk-*'] paths: - .github/workflows/cli.yml - packages/** @@ -28,7 +28,7 @@ jobs: with: fetch-depth: 100 - name: ⬇️ Fetch commits from base branch - run: git fetch origin ${{ github.event.before || github.base_ref || 'master' }}:${{ github.event.before || github.base_ref || 'master' }} --depth 100 + run: git fetch origin ${{ github.event.before || github.base_ref || 'main' }}:${{ github.event.before || github.base_ref || 'main' }} --depth 100 if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' - name: ♻️ Restore workspace node modules uses: actions/cache@v2 @@ -57,7 +57,7 @@ jobs: working-directory: packages/expo # - name: 🔔 Notify on Slack # uses: 8398a7/action-slack@v3 - # if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + # if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_api }} diff --git a/.github/workflows/client-android.yml b/.github/workflows/client-android.yml index 03955c1ac6e97..228cd1ba4033d 100644 --- a/.github/workflows/client-android.yml +++ b/.github/workflows/client-android.yml @@ -21,7 +21,7 @@ on: - .ruby-version - yarn.lock push: - branches: [master, sdk-*] + branches: [main, sdk-*] paths: - .github/workflows/client-android.yml - secrets/** @@ -164,7 +164,7 @@ jobs: SUPPLY_JSON_KEY_DATA: ${{ secrets.SUPPLY_JSON_KEY_DATA }} - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_android }} diff --git a/.github/workflows/client-ios.yml b/.github/workflows/client-ios.yml index 2873c8f754e15..d90e873f3fa84 100644 --- a/.github/workflows/client-ios.yml +++ b/.github/workflows/client-ios.yml @@ -22,7 +22,7 @@ on: - .ruby-version - yarn.lock push: - branches: [master, sdk-*] + branches: [main, sdk-*] paths: - .github/workflows/client-ios.yml - ios/** @@ -134,7 +134,7 @@ jobs: EXPO_VERSIONS_SECRET: ${{ secrets.EXPO_VERSIONS_SECRET }} - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_ios }} diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index 9a7c3bbc3f17d..c32c520a5080c 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -7,7 +7,7 @@ on: description: 'Number of the pull request to review' required: true pull_request_target: - branches: [master, sdk-*] + branches: [main, sdk-*] concurrency: group: ${{ github.workflow }}-${{ github.event.inputs.pullNumber || github.event.number }} diff --git a/.github/workflows/development-client-e2e.yml b/.github/workflows/development-client-e2e.yml index 8866c024edb61..b3c5a52ec76ab 100644 --- a/.github/workflows/development-client-e2e.yml +++ b/.github/workflows/development-client-e2e.yml @@ -7,7 +7,7 @@ on: - .github/workflows/development-client-e2e.yml - packages/expo-dev-*/** push: - branches: [master] + branches: [main] paths: - .github/workflows/development-client-e2e.yml - packages/expo-dev-*/** diff --git a/.github/workflows/development-client.yml b/.github/workflows/development-client.yml index 958210dfe3978..41ca3508b60ee 100644 --- a/.github/workflows/development-client.yml +++ b/.github/workflows/development-client.yml @@ -9,7 +9,7 @@ on: # - .github/workflows/development-client.yml # - packages/expo-dev-*/** # push: - # branches: [master] + # branches: [main] # paths: # - .github/workflows/development-client.yml # - packages/expo-dev-*/** diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 54a33eda8218b..63c93d29d8a47 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,7 +8,7 @@ defaults: on: workflow_dispatch: {} push: - branches: [master] + branches: [main] paths: - 'docs/**' - '.github/workflows/docs.yml' @@ -77,13 +77,13 @@ jobs: yarn test-links http://127.0.0.1:8000 timeout-minutes: 1 - run: ./deploy.sh - if: ${{ github.event.ref == 'refs/heads/master' }} + if: ${{ github.event.ref == 'refs/heads/main' }} env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && github.event.ref == 'refs/heads/master' + if: failure() && github.event.ref == 'refs/heads/main' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_docs }} diff --git a/.github/workflows/dogfooding-clients.yml b/.github/workflows/dogfooding-clients.yml index 75355e700c30c..268e644bb1e4e 100644 --- a/.github/workflows/dogfooding-clients.yml +++ b/.github/workflows/dogfooding-clients.yml @@ -102,7 +102,7 @@ jobs: path: ~/.gradle/daemon - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_android }} diff --git a/.github/workflows/expotools.yml b/.github/workflows/expotools.yml index aba20fcd6f4db..52e66a884270b 100644 --- a/.github/workflows/expotools.yml +++ b/.github/workflows/expotools.yml @@ -3,7 +3,7 @@ name: Expotools on: workflow_dispatch: {} push: - branches: [master, 'sdk-*'] + branches: [main, 'sdk-*'] paths: - .github/workflows/expotools.yml - tools/** diff --git a/.github/workflows/home.yml b/.github/workflows/home.yml index ee0ceb7aca6e9..f628c05bfc7f8 100644 --- a/.github/workflows/home.yml +++ b/.github/workflows/home.yml @@ -8,7 +8,7 @@ on: - home/** - yarn.lock push: - branches: [master, 'sdk-*'] + branches: [main, 'sdk-*'] paths: - .github/workflows/home.yml - home/** @@ -46,7 +46,7 @@ jobs: working-directory: home - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_api }} @@ -57,7 +57,7 @@ jobs: author_name: Home app publish-dogfood-home: - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' needs: build runs-on: ubuntu-18.04 steps: diff --git a/.github/workflows/ios-unit-tests.yml b/.github/workflows/ios-unit-tests.yml index cc3e1f9eb0dcc..0b44cbd45945d 100644 --- a/.github/workflows/ios-unit-tests.yml +++ b/.github/workflows/ios-unit-tests.yml @@ -16,7 +16,7 @@ on: - Gemfile.lock - .ruby-version push: - branches: [master] + branches: [main] paths: - .github/workflows/ios-unit-tests.yml - ios/** diff --git a/.github/workflows/native-component-list.yml b/.github/workflows/native-component-list.yml index 89891d69e06b3..a6593951f3d50 100644 --- a/.github/workflows/native-component-list.yml +++ b/.github/workflows/native-component-list.yml @@ -9,7 +9,7 @@ on: - packages/** - yarn.lock push: - branches: [master] + branches: [main] paths: - .github/workflows/native-component-list.yml - apps/native-component-list/** @@ -46,7 +46,7 @@ jobs: working-directory: apps/native-component-list - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master') + if: failure() && (github.event.ref == 'refs/heads/main') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_api }} diff --git a/.github/workflows/publish-demo.yml b/.github/workflows/publish-demo.yml index 110b60a4082de..8e5508067597c 100644 --- a/.github/workflows/publish-demo.yml +++ b/.github/workflows/publish-demo.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: {} push: branches: - - master + - main paths: - .github/workflows/web.yml - yarn.lock diff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.yml index 6bb63f7bcaf3e..e8f998821feab 100644 --- a/.github/workflows/sdk.yml +++ b/.github/workflows/sdk.yml @@ -8,7 +8,7 @@ on: required: false default: '' push: - branches: [master, 'sdk-*'] + branches: [main, 'sdk-*'] paths: - .github/workflows/sdk.yml - tools/** @@ -36,7 +36,7 @@ jobs: with: fetch-depth: 100 - name: ⬇️ Fetch commits from base branch - run: git fetch origin ${{ github.event.before || github.base_ref || 'master' }}:${{ github.event.before || github.base_ref || 'master' }} --depth 100 + run: git fetch origin ${{ github.event.before || github.base_ref || 'main' }}:${{ github.event.before || github.base_ref || 'main' }} --depth 100 if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' - name: ♻️ Restore workspace node modules uses: actions/cache@v2 @@ -69,11 +69,11 @@ jobs: else # On push event check packages changed since previous remote head. # In pull requests and workflow_dispatch events check all packages changed in the entire PR. - bin/expotools check-packages --since ${{ github.event.before || github.base_ref || 'master' }} + bin/expotools check-packages --since ${{ github.event.before || github.base_ref || 'main' }} fi - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_api }} diff --git a/.github/workflows/shell-app-ios.yml b/.github/workflows/shell-app-ios.yml index 3aad7cb528eec..c610c617ff7ca 100644 --- a/.github/workflows/shell-app-ios.yml +++ b/.github/workflows/shell-app-ios.yml @@ -87,11 +87,11 @@ jobs: run: | aws s3 cp --acl public-read ${{ steps.tarball.outputs.filename }} s3://exp-artifacts echo "Release tarball uploaded to s3://exp-artifacts/${{ steps.tarball.outputs.filename }}" - echo "You can deploy this by updating or creating a new file in https://github.com/expo/turtle/tree/master/shellTarballs/ios" + echo "You can deploy this by updating or creating a new file in https://github.com/expo/turtle/tree/main/shellTarballs/ios" echo "Then follow the deployment instructions: https://github.com/expo/turtle-deploy" - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-') || github.event_name == 'schedule') + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-') || github.event_name == 'schedule') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_IOS }} diff --git a/.github/workflows/test-suite-lint.yml b/.github/workflows/test-suite-lint.yml index 3d5cad9e3fbc3..b9811ef56457a 100644 --- a/.github/workflows/test-suite-lint.yml +++ b/.github/workflows/test-suite-lint.yml @@ -3,7 +3,7 @@ name: Test Suite Lint on: workflow_dispatch: {} push: - branches: [master] + branches: [main] paths: - apps/test-suite/** pull_request: diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 9d49a87ac9bf4..57fade271280d 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -3,7 +3,7 @@ name: Test Suite on: workflow_dispatch: {} push: - branches: [master, 'sdk-*'] + branches: [main, 'sdk-*'] paths: - .github/workflows/test-suite.yml - apps/bare-expo/** @@ -55,7 +55,7 @@ jobs: working-directory: apps/bare-expo - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_web }} @@ -139,7 +139,7 @@ jobs: path: apps/bare-expo/artifacts - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_ios }} @@ -212,7 +212,7 @@ jobs: path: apps/bare-expo/artifacts - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_android }} diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index e79c2c555986b..942a0721cb7c2 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -89,7 +89,7 @@ jobs: run: git diff --exit-code - name: 🔔 Notify on Slack uses: 8398a7/action-slack@v3 - if: failure() && (github.event.ref == 'refs/heads/master' || startsWith(github.event.ref, 'refs/heads/sdk-')) + if: failure() && (github.event.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/heads/sdk-')) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.slack_webhook_ios }}