Skip to content

Commit

Permalink
Merge branch 'release/v0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-pod committed Sep 29, 2023
2 parents 53b3836 + abcc05f commit 3b1c5ad
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 23 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ on:
branches:
- main

env:
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer

jobs:
build:
runs-on: ubuntu-latest
runs-on: macOS-13

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_AP_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TOKEN_CI }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_COMMITTER_NAME: Bot Fabernovel
GIT_AUTHOR_NAME: Bot Fabernovel
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -27,7 +26,7 @@ CompositionalLayoutDSL is a Swift library. It makes easier to create composition

## Documentation

An online documentation can be found [here](https://fabernovel.github.io/CompositionalLayoutDSL/documentation/CompositionalLayoutDSL).
An online documentation can be found [here](https://fabernovel.github.io/CompositionalLayoutDSL/documentation/compositionallayoutdsl/).

The documentation can be build locally and seen with this command:
```bash
Expand Down Expand Up @@ -118,23 +117,15 @@ collectionView.collectionViewLayout = LayoutBuilder {

To integrate `CompositionalLayoutDSL` into your Xcode project using CocoaPods, specify it in your Podfile:
```
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
pod 'CompositionalLayoutDSL', '~> 0.2.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:

```swift
.package(url: "https://github.com/faberNovel/CompositionalLayoutDSL")
.package(url: "https://github.com/faberNovel/CompositionalLayoutDSL", from: "0.2.0")
```

## Behind the scene
Expand Down
10 changes: 1 addition & 9 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3b1c5ad

Please sign in to comment.