From 41517b34518057b445a3e92b16c96c88d263a50f Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Thu, 12 Dec 2024 12:14:43 +0100 Subject: [PATCH] fix: add V5 branch configuration --- .github/workflows/check-pr.yml | 1 + .github/workflows/next-release.yml | 1 + .github/workflows/sample-distribution.yml | 10 +++++----- .github/workflows/sdk-size-metrics.yml | 1 + release/next.js | 1 + 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 3d5dd6dcc4..2cdd5fcfda 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -5,6 +5,7 @@ on: branches: - develop - main + - V5 - 'v[0-9]+.[0-9]+.[0-9]+*beta*' types: [opened, synchronize] diff --git a/.github/workflows/next-release.yml b/.github/workflows/next-release.yml index 935f2fcd7c..f2ccc23ace 100644 --- a/.github/workflows/next-release.yml +++ b/.github/workflows/next-release.yml @@ -4,6 +4,7 @@ on: push: branches: - develop + - V5 jobs: publish-next: diff --git a/.github/workflows/sample-distribution.yml b/.github/workflows/sample-distribution.yml index 366b4f25af..51bf53ca1c 100644 --- a/.github/workflows/sample-distribution.yml +++ b/.github/workflows/sample-distribution.yml @@ -13,7 +13,7 @@ on: jobs: build_and_deploy_ios_testflight_qa: - name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop' }} + name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/V5' }} runs-on: [macos-14] steps: - name: Connect Bot @@ -36,14 +36,14 @@ jobs: run: bundle exec pod install - name: Build and release Testflight QA working-directory: examples/SampleApp - run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/develop' }}; + run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/V5' }}; env: MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }} APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }} build_and_deploy_android_s3: - name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }} + name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/V5' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -64,13 +64,13 @@ jobs: rm -rf $HOME/.gradle/caches/ && ./gradlew assembleRelease - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 - if: ${{ github.ref == 'refs/heads/develop' }} + if: ${{ github.ref == 'refs/heads/V5' }} with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-1 - name: Upload APK - if: ${{ github.ref == 'refs/heads/develop' }} + if: ${{ github.ref == 'refs/heads/V5' }} # https://getstream.io/downloads/rn-sample-app.apk run: | cp examples/SampleApp/android/app/build/outputs/apk/release/app-release.apk rn-sample-app.apk diff --git a/.github/workflows/sdk-size-metrics.yml b/.github/workflows/sdk-size-metrics.yml index 0e799c5c07..e0838e9e8a 100644 --- a/.github/workflows/sdk-size-metrics.yml +++ b/.github/workflows/sdk-size-metrics.yml @@ -9,6 +9,7 @@ on: branches: - develop - main + - V5 env: HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI diff --git a/release/next.js b/release/next.js index 55f91550e9..fb52927f00 100644 --- a/release/next.js +++ b/release/next.js @@ -8,6 +8,7 @@ configPromise.then((config) => { ...config, branches: [ 'main', + 'V5', { name: 'develop', channel: 'beta',