Compare commits
9 commits
8.3.5
...
ai/forgejo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ea8038700 | ||
|
|
916218efd5 | ||
|
|
0b6882e9a3 | ||
|
|
20fe7c6b59 | ||
|
|
fd80ee6f10 | ||
|
|
ac5dacb8f1 | ||
|
|
89e0d8ec23 | ||
|
|
6afa7424fd | ||
|
|
e475cc64d9 |
7 changed files with 20 additions and 6 deletions
10
.github/workflows/build-and-release.yaml
vendored
10
.github/workflows/build-and-release.yaml
vendored
|
|
@ -18,8 +18,16 @@ jobs:
|
|||
runs-on: macos-15
|
||||
timeout-minutes: 30
|
||||
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: |
|
||||
if [[ "${{ inputs.release-version }}" =~ ^7\. ]]; then
|
||||
if [[ "${{ inputs.release-version }}" =~ ^[67]\. ]]; then
|
||||
sudo xcode-select --switch /Applications/Xcode_16.2.app
|
||||
else
|
||||
sudo xcode-select --switch /Applications/Xcode_26.0.app
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,4 +3,4 @@ capacitor-checkout
|
|||
*.zip
|
||||
.swiftpm
|
||||
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: [
|
||||
.binaryTarget(
|
||||
name: "Capacitor",
|
||||
url: "https://github.com/ionic-team/capacitor-swift-pm/releases/download/8.5.0/Capacitor.xcframework.zip",
|
||||
checksum: "357220fe6dad73cb78bc1dc83e16e89d59c3d7dac8f9b17545a5be64bba25130"
|
||||
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Capacitor.xcframework.zip",
|
||||
checksum: "134c65a8bd30bfaa8ccb158d78142fa7231bf3f472e4a5d808c5fbed90fd4c75"
|
||||
),
|
||||
.binaryTarget(
|
||||
name: "Cordova",
|
||||
url: "https://github.com/ionic-team/capacitor-swift-pm/releases/download/8.5.0/Cordova.xcframework.zip",
|
||||
checksum: "a3dc72b5a559948d548f0ee2926b989492acc1023a0c86a1bf85477587f83a10"
|
||||
url: "https://git.kico-dev.de/martin/capacitor-swift-pm/raw/commit/916218efd53e6e646c36bbfd71e8f06c1b643fbf/artifacts/Cordova.xcframework.zip",
|
||||
checksum: "57ff2c8f1e5dcd8d4379ac3cccde1407d81ccd575347dc2aff4f72272b8794a1"
|
||||
)
|
||||
]
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# Swift Package Manager Support for Capacitor
|
||||
|
||||
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