Compare commits
No commits in common. "ai/forgejo-capacitor-8-5-2" and "9.0.0-alpha.6" have entirely different histories.
ai/forgejo
...
9.0.0-alph
7 changed files with 7 additions and 21 deletions
12
.github/workflows/build-and-release.yaml
vendored
12
.github/workflows/build-and-release.yaml
vendored
|
|
@ -15,19 +15,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-15
|
runs-on: macos-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: Validate release version
|
|
||||||
run: |
|
|
||||||
version="${{ inputs.release-version }}"
|
|
||||||
major="${version%%.*}"
|
|
||||||
if [[ ! "$major" =~ ^[0-9]+$ ]] || (( major < 6 || major > 8 )); then
|
|
||||||
echo "::error::Capacitor $version is not supported by this repository. Starting with Capacitor 9 (see https://github.com/ionic-team/capacitor/pull/8588 PR), the iOS platform is a source-first Swift package built directly from the ionic-team/capacitor repository, so SPM distribution no longer happens here. This repository only releases major versions 6, 7, and 8."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
- run: |
|
- run: |
|
||||||
if [[ "${{ inputs.release-version }}" =~ ^[67]\. ]]; then
|
if [[ "${{ inputs.release-version }}" =~ ^7\. ]]; then
|
||||||
sudo xcode-select --switch /Applications/Xcode_16.2.app
|
sudo xcode-select --switch /Applications/Xcode_16.2.app
|
||||||
else
|
else
|
||||||
sudo xcode-select --switch /Applications/Xcode_26.0.app
|
sudo xcode-select --switch /Applications/Xcode_26.0.app
|
||||||
|
|
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,4 +3,4 @@ capacitor-checkout
|
||||||
*.zip
|
*.zip
|
||||||
.swiftpm
|
.swiftpm
|
||||||
frameworks
|
frameworks
|
||||||
.build
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
Capacitor/Cordova 8.5.2, unchanged binary artifacts and upstream checksums.
|
|
||||||
Imported once from Ionic; future builds use only git.kico-dev.de.
|
|
||||||
Original upstream revision: 0b6882e9a3288342aacf36348e5a94e4f1dd7b13.
|
|
||||||
Licence and notices are retained from upstream. MeeNow pins this commit.
|
|
||||||
|
|
@ -18,13 +18,13 @@ let package = Package(
|
||||||
targets: [
|
targets: [
|
||||||
.binaryTarget(
|
.binaryTarget(
|
||||||
name: "Capacitor",
|
name: "Capacitor",
|
||||||
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Capacitor.xcframework.zip",
|
url: "https://github.com/ionic-team/capacitor-swift-pm/releases/download/9.0.0-alpha.6/Capacitor.xcframework.zip",
|
||||||
checksum: "134c65a8bd30bfaa8ccb158d78142fa7231bf3f472e4a5d808c5fbed90fd4c75"
|
checksum: "dbf2cab579879485d9c301810cf81714383176223ddb0915fb49da3d76e8c4a5"
|
||||||
),
|
),
|
||||||
.binaryTarget(
|
.binaryTarget(
|
||||||
name: "Cordova",
|
name: "Cordova",
|
||||||
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Cordova.xcframework.zip",
|
url: "https://github.com/ionic-team/capacitor-swift-pm/releases/download/9.0.0-alpha.6/Cordova.xcframework.zip",
|
||||||
checksum: "57ff2c8f1e5dcd8d4379ac3cccde1407d81ccd575347dc2aff4f72272b8794a1"
|
checksum: "c75b5ff7ffdc9268b99a4bf306b9143b3d93b27fb10a07b7fab1fdcc9cf7342e"
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
# Swift Package Manager Support for Capacitor
|
# Swift Package Manager Support for Capacitor
|
||||||
|
|
||||||
This repo is for hosting binary xcframework releases of Capacitor and CapacitorCordova for SPM support.
|
This repo is for hosting binary xcframework releases of Capacitor and CapacitorCordova for SPM support.
|
||||||
|
|
||||||
Only applies to Capacitor major versions 6, 7, and 8. Starting with Capacitor 9, the iOS platform is a source-first Swift package built directly from the [ionic-team/capacitor](https://github.com/ionic-team/capacitor) repository.
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue