Skip to content

Commit c1d93be

Browse files
committed
chore: Bump podspec in pipeline
1 parent ecfa0dd commit c1d93be

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/create-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ jobs:
1919

2020
- name: Bump version
2121
run: |
22+
set -euo pipefail
2223
git config --global user.name "RxAlamofire Maintainers"
2324
git config --global user.email "rxalamofire@rxswift.org"
2425
npx standard-version
2526
echo "RELEASE_VERSION=$(git describe --abbrev=0 | tr -d '\n')" >> $GITHUB_ENV
27+
export VERSION="$(git describe --abbrev=0 | tr -d '\n')"
28+
VERSION=${VERSION:1}
29+
npx podspec-bump -w -i $VERSION
2630
2731
# - name: Changelog
2832
# uses: scottbrenner/generate-changelog-action@master

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ pod 'RxAlamofire'
188188
Add following to `Cartfile`:
189189

190190
```
191-
github "RxSwiftCommunity/RxAlamofire" ~> 5.3
191+
github "RxSwiftCommunity/RxAlamofire" ~> 6.1
192192
```
193193

194194
### Swift Package manager
195195

196196
Create a `Package.swift` file
197197

198198
```
199-
// swift-tools-version:4.0
199+
// swift-tools-version:5.0
200200
201201
import PackageDescription
202202
@@ -205,7 +205,7 @@ let package = Package(
205205
206206
dependencies: [
207207
.package(url: "https://github.com/RxSwiftCommunity/RxAlamofire.git",
208-
from: "5.3.1"),
208+
from: "6.1.0"),
209209
],
210210
211211
targets: [
@@ -223,7 +223,9 @@ To manual install this extension you should get the `RxAlamofire/Source/RxAlamof
223223

224224
## Requirements
225225

226-
RxAlamofire requires Swift 5.1 and dedicated versions of Alamofire (5.1.0) and RxSwift (5.1.0).
226+
RxAlamofire requires Swift 5.1 and dedicated versions of Alamofire (5.4.1) and RxSwift (6.0.0).
227+
228+
For the last RxSwift 5.1 support, please use RxAlamofire 5.7.1.
227229

228230
For the last Swift 5.0 support, please use RxAlamofire 5.1.0.
229231

RxAlamofire.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "RxAlamofire"
33
# Version to always follow latest tag, with fallback to major
4-
s.version = ENV['RELEASE_VERSION'] || "5.0.0"
4+
s.version = "6.1.0"
55
s.license = "MIT"
66
s.summary = "RxSwift wrapper around the elegant HTTP networking in Swift Alamofire"
77
s.homepage = "https://github.com/RxSwiftCommunity/RxAlamofire"

0 commit comments

Comments
 (0)