Skip to content

Commit d936e11

Browse files
docs: update README with --auto-merge flag for certificate script
1 parent 9a2bdef commit d936e11

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,20 @@ bundle install
6464

6565
### Creating Certificates for a New App
6666

67-
Use the provided script to create new certificates and provisioning profiles. The script handles creating a branch, running fastlane match, and merging via PR (required since the certificates repo has branch protection):
67+
Use the provided script to create new certificates and provisioning profiles. The script handles creating a branch, running fastlane match, and creating a PR (required since the certificates repo has branch protection):
6868

6969
```bash
7070
# Make the script executable (first time only)
7171
chmod +x scripts/create-certificates.sh
7272

73-
# Create App Store certificates
73+
# Create App Store certificates (creates PR for manual review)
7474
./scripts/create-certificates.sh <certificates_repo> <bundle_id> <apple_email> appstore
7575

7676
# Create development certificates
7777
./scripts/create-certificates.sh <certificates_repo> <bundle_id> <apple_email> development
78+
79+
# Auto-merge the PR (skip manual review)
80+
./scripts/create-certificates.sh <certificates_repo> <bundle_id> <apple_email> appstore --auto-merge
7881
```
7982

8083
**Example:**
@@ -84,7 +87,7 @@ chmod +x scripts/create-certificates.sh
8487
./scripts/create-certificates.sh reown-com/mobile-certificates com.reown.myapp dev@reown.com development
8588
```
8689

87-
> **Note:** Requires [GitHub CLI](https://cli.github.com/) (`gh`) to be installed and authenticated.
90+
> **Note:** Requires [GitHub CLI](https://cli.github.com/) (`gh`) to be installed and authenticated. By default, the script creates a PR that requires manual merge. Use `--auto-merge` to automatically merge.
8891
8992
### Downloading Certificates Locally
9093

0 commit comments

Comments
 (0)