Skip to content

Commit 1ce0906

Browse files
committed
chore: modify gh workflows for V7 branch
1 parent 703b0ae commit 1ce0906

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed

.github/workflows/check-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- develop
77
- main
88
- 'v[0-9]+.[0-9]+.[0-9]+*beta*'
9+
- V7
910
types: [opened, synchronize]
1011

1112
jobs:

.github/workflows/lint-pr-title.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- develop
77
- 'v[0-9]+.[0-9]+.[0-9]+'
8+
- V7
89
types: [opened, edited, synchronize]
910

1011
jobs:

.github/workflows/next-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- develop
7+
- V7
78

89
jobs:
910
publish-next:

.github/workflows/sample-distribution.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
build_and_deploy_ios_testflight_qa:
16-
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/develop' }}
16+
name: Build SampleApp iOS and Deploy-${{ github.ref == 'refs/heads/V7' }}
1717
runs-on: [macos-15]
1818
steps:
1919
- name: Connect Bot
@@ -41,14 +41,14 @@ jobs:
4141
bundle exec pod install
4242
- name: Build and release Testflight QA
4343
working-directory: examples/SampleApp
44-
run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/develop' }};
44+
run: bundle exec fastlane deploy_to_testflight_qa deploy:${{ github.ref == 'refs/heads/V7' }};
4545
env:
4646
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
4747
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
4848
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
4949

5050
build_and_deploy_android_s3:
51-
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }}
51+
name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/V7' }}
5252
runs-on: ubuntu-latest
5353
steps:
5454
- uses: actions/checkout@v2
@@ -69,13 +69,13 @@ jobs:
6969
rm -rf $HOME/.gradle/caches/ && ./gradlew assembleRelease
7070
- name: Configure AWS credentials
7171
uses: aws-actions/configure-aws-credentials@v1
72-
if: ${{ github.ref == 'refs/heads/develop' }}
72+
if: ${{ github.ref == 'refs/heads/V7' }}
7373
with:
7474
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
7575
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7676
aws-region: us-east-1
7777
- name: Upload APK
78-
if: ${{ github.ref == 'refs/heads/develop' }}
78+
if: ${{ github.ref == 'refs/heads/V7' }}
7979
# https://getstream.io/downloads/rn-sample-app.apk
8080
run: |
8181
cp examples/SampleApp/android/app/build/outputs/apk/release/app-release.apk rn-sample-app.apk

release/next.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ configPromise.then((config) => {
88
...config,
99
branches: [
1010
'main',
11+
{
12+
name:"V7",
13+
range: "7.x",
14+
},
1115
{
1216
name: 'develop',
1317
channel: 'beta',

release/release.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ module.exports = Promise.resolve().then(() => {
8383

8484
return {
8585
extends: [`${__dirname}/monorepo-setup.js`],
86+
dryRun: true,
8687
workspaces: lernaPackage.packages,
8788
filterPath: process.env.FILTER_PATH,
8889
tagFormat: process.env.TAG_FORMAT,

0 commit comments

Comments
 (0)