Compare commits
12 commits
9.0.0-alph
...
ai/forgejo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ea8038700 | ||
|
|
916218efd5 | ||
|
|
0b6882e9a3 | ||
|
|
20fe7c6b59 | ||
|
|
fd80ee6f10 | ||
|
|
ac5dacb8f1 | ||
|
|
89e0d8ec23 | ||
|
|
6afa7424fd | ||
|
|
e475cc64d9 | ||
|
|
4f71d0b979 | ||
|
|
41ee0b4d86 | ||
|
|
f8a4de3e3d |
7 changed files with 21 additions and 7 deletions
12
.github/workflows/build-and-release.yaml
vendored
12
.github/workflows/build-and-release.yaml
vendored
|
|
@ -15,11 +15,19 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: macos-latest
|
runs-on: macos-15
|
||||||
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 }}" =~ ^7\. ]]; then
|
if [[ "${{ inputs.release-version }}" =~ ^[67]\. ]]; 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
|
||||||
|
|
|
||||||
4
MEENOW-FORGEJO.md
Normal file
4
MEENOW-FORGEJO.md
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
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://github.com/ionic-team/capacitor-swift-pm/releases/download/9.0.0-alpha.6/Capacitor.xcframework.zip",
|
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Capacitor.xcframework.zip",
|
||||||
checksum: "dbf2cab579879485d9c301810cf81714383176223ddb0915fb49da3d76e8c4a5"
|
checksum: "134c65a8bd30bfaa8ccb158d78142fa7231bf3f472e4a5d808c5fbed90fd4c75"
|
||||||
),
|
),
|
||||||
.binaryTarget(
|
.binaryTarget(
|
||||||
name: "Cordova",
|
name: "Cordova",
|
||||||
url: "https://github.com/ionic-team/capacitor-swift-pm/releases/download/9.0.0-alpha.6/Cordova.xcframework.zip",
|
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Cordova.xcframework.zip",
|
||||||
checksum: "c75b5ff7ffdc9268b99a4bf306b9143b3d93b27fb10a07b7fab1fdcc9cf7342e"
|
checksum: "57ff2c8f1e5dcd8d4379ac3cccde1407d81ccd575347dc2aff4f72272b8794a1"
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
# 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.
|
||||||
|
|
|
||||||
BIN
artifacts/Capacitor.xcframework.zip
Normal file
BIN
artifacts/Capacitor.xcframework.zip
Normal file
Binary file not shown.
BIN
artifacts/Cordova.xcframework.zip
Normal file
BIN
artifacts/Cordova.xcframework.zip
Normal file
Binary file not shown.
Loading…
Reference in a new issue