From d8da5dcdeccd9a072eb746e6ce4517e4d097610e Mon Sep 17 00:00:00 2001 From: Alexandre Podlewski Date: Fri, 29 Sep 2023 19:45:35 +0200 Subject: [PATCH 1/2] Drop support for Carthage --- CHANGELOG.md | 1 + README.md | 9 --------- fastlane/Fastfile | 10 +--------- 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7aa2667..92048ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. ### Removed - Drop support for Swift 5.3, we now use `@resultBuilder` instead of `@_functionBuilder` +- Drop support for Carthage ## [0.1.0] - 2021-04-28 diff --git a/README.md b/README.md index 68d2ae3..38eb248 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ CompositionalLayoutDSL is a Swift library. It makes easier to create composition - [Getting started](#getting-started) - [Installation](#installation) - [CocoaPods](#cocoapods) - - [Carthage](#carthage) - [Swift Package Manager](#swift-package-manager) - [Credits](#credits) - [Behind the scene](#behind-the-scene) @@ -121,14 +120,6 @@ To integrate `CompositionalLayoutDSL` into your Xcode project using CocoaPods, s pod 'CompositionalLayoutDSL', '~> 0.1.0' ``` -### Carthage - -To integrate `CompositionalLayoutDSL` into your Xcode project using Carthage, specify it in your `Cartfile`: - -``` -github "faberNovel/CompositionalLayoutDSL" ~> 0.1.0 -``` - ### Swift Package Manager `CompositionalLayoutDSL` can be installed as a Swift Package with Xcode 11 or higher. To install it, add a package using Xcode or a dependency to your Package.swift file: diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 1de08db..7a67274 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -91,21 +91,13 @@ lane :publish_release do section_identifier: "[#{target_version}]" ) - carthage(command: "build", no_skip_current: true) - carthage( - frameworks: ["CompositionalLayoutDSL"], - output: "CompositionalLayoutDSL.framework.zip", - command: "archive" - ) - set_github_release( repository_name: ENV["REPO"], api_bearer: ENV["GITHUB_TOKEN"], name: "v#{target_version}", tag_name: "v#{target_version}", description: changelog, - commitish: "main", - upload_assets: ["CompositionalLayoutDSL.framework.zip"] + commitish: "main" ) pod_push(allow_warnings: true) From 760f737d82a250ba0b37809dbfb7ad8ae2b2a85e Mon Sep 17 00:00:00 2001 From: Alexandre Podlewski Date: Fri, 29 Sep 2023 19:46:36 +0200 Subject: [PATCH 2/2] Update version on README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38eb248..42bfc60 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ collectionView.collectionViewLayout = LayoutBuilder { To integrate `CompositionalLayoutDSL` into your Xcode project using CocoaPods, specify it in your Podfile: ``` -pod 'CompositionalLayoutDSL', '~> 0.1.0' +pod 'CompositionalLayoutDSL', '~> 0.2.0' ``` ### Swift Package Manager @@ -125,7 +125,7 @@ pod 'CompositionalLayoutDSL', '~> 0.1.0' `CompositionalLayoutDSL` can be installed as a Swift Package with Xcode 11 or higher. To install it, add a package using Xcode or a dependency to your Package.swift file: ```swift -.package(url: "https://github.com/faberNovel/CompositionalLayoutDSL") +.package(url: "https://github.com/faberNovel/CompositionalLayoutDSL", from: "0.2.0") ``` ## Behind the scene