Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ jobs:
- run: npm install
- run: npm run verify
working-directory: ./ios
# - name: Validate native podspec
# run: sh ./scripts/native-podspec.sh lint
test-android:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/publish-ios.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/publish-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,3 @@ jobs:
ANDROID_SIGNING_KEY: ${{ secrets.ANDROID_SIGNING_KEY }}
ANDROID_SONATYPE_STAGING_PROFILE_ID: ${{ secrets.ANDROID_SONATYPE_STAGING_PROFILE_ID }}
CAP_GH_RELEASE_TOKEN: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
publish-ios:
needs: publish-npm-latest
uses: ./.github/workflows/publish-ios.yml
secrets:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
8 changes: 1 addition & 7 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1433,14 +1433,11 @@ flowchart TB
D["workflow_dispatch: Publish Latest"]
N["publish-npm-latest<br/>lerna version + npm publish --tag latest"]
A["publish-android<br/>scripts/publish-android.sh"]
I["publish-ios<br/>scripts/native-podspec.sh publish"]
M["Maven Central<br/>com.capacitorjs:core"]
C["CocoaPods trunk<br/>Capacitor, CapacitorCordova"]
S["SwiftPM<br/>consumers resolve the git tag"]

D --> N
N --> A --> M
N --> I --> C
N -.->|"tag created by lerna"| S
```

Expand All @@ -1450,10 +1447,7 @@ flowchart TB
`:capacitor-android:publishReleasePublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository`
with `CAP_PUBLISH=true` (which is what activates the `publish-root.gradle` /
`publish-module.gradle` scripts and the signing plugin).
- **iOS** (`scripts/native-podspec.sh publish`): `pod trunk push` for
`CapacitorCordova` then `Capacitor`, with `NATIVE_PUBLISH=true` so the podspecs
prefix their source globs with `ios/`.
- **SwiftPM** needs no publish step of its own. Apps resolve the Swift package out of the
- **iOS** needs no publish step of its own. Apps resolve the Swift package out of the
`@capacitor/ios` npm, which carries `ios/Package.swift` alongside the sources, so it
ships on the npm publish above. A git URL still resolves the root `Package.swift` at the
tag Lerna created.
Expand Down
15 changes: 0 additions & 15 deletions scripts/native-podspec.sh

This file was deleted.