You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -398,6 +398,15 @@ For user-reported numbering-plan gaps that are not yet in upstream metadata, fol
398
398
399
399
## Updating Metadata
400
400
401
+
Use the all-in-one updater for normal metadata releases:
402
+
403
+
```bash
404
+
swift scripts/updateMetadata.swift <libphonenumber-version> --dry-run
405
+
swift scripts/updateMetadata.swift <libphonenumber-version>
406
+
```
407
+
408
+
Use `--only main,geocoding` or `--skip carrier,timezones` when the release intentionally covers only specific metadata families. See the [release runbook](docs/RELEASE_RUNBOOK.md) for the full release flow.
409
+
401
410
### Main And Short-Number Metadata
402
411
403
412
Run the metadata generator from the `scripts` directory:
@@ -444,19 +453,13 @@ git diff --check
444
453
For Swift facade changes:
445
454
446
455
```bash
447
-
pod lib lint libPhoneNumber-iOS-SwiftCore.podspec --allow-warnings --include-podspecs='*.podspec'
448
-
pod lib lint libPhoneNumber-iOS-SwiftGeocoding.podspec --allow-warnings --include-podspecs='*.podspec'
449
-
pod lib lint libPhoneNumber-iOS-SwiftShortNumber.podspec --allow-warnings --include-podspecs='*.podspec'
450
-
pod lib lint libPhoneNumber-iOS-SwiftUI.podspec --allow-warnings --include-podspecs='*.podspec'
451
-
pod lib lint libPhoneNumber-iOS-Swift.podspec --allow-warnings --include-podspecs='*.podspec'
456
+
swift scripts/publishPodspecs.swift --lint
452
457
```
453
458
454
459
For Xcode schemes:
455
460
456
461
```bash
457
-
xcodebuild test -scheme libPhoneNumber -destination 'platform=iOS Simulator,name=iPhone 16'
458
-
xcodebuild test -scheme libPhoneNumberGeocoding -destination 'platform=iOS Simulator,name=iPhone 16'
459
-
xcodebuild test -scheme libPhoneNumberShortNumber -destination 'platform=iOS Simulator,name=iPhone 16'
0 commit comments