Skip to content

Commit

Permalink
[release] Bump to v10.0.0-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
frederoni committed Jan 26, 2021
1 parent e9945b2 commit 4ac87e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@ machine api.mapbox.com
###### Using SPM Package 📱🖥💻

```swift
.package(url: "git@github.com:mapbox/mapbox-common-ios.git", from: "9.1.1"),
.package(url: "https://github.com/mapbox/mapbox-common-ios.git", from: "10.0.0-beta.8"),
```

##### CocoaPods 📱🖥💻

```ruby
pod 'MapboxCommon', '9.1.1'
pod 'MapboxCommon', '10.0.0-beta.8'
```

##### Carthage 📱

Add the following code to your Cartfile.

```bash
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon-ios.json" == 9.1.1
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon-ios.json" == 10.0.0-beta.8
```

Then run the following command in the Terminal.
Expand Down
4 changes: 2 additions & 2 deletions scripts/release/Sources/set-marketing-version/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ struct MarketingVersion: ParsableCommand {
func runReadmeVersionUpdate() throws {
let readmeURL = projectPathURL.appendingPathComponent("README.md")

try replaceLineContaining(".package(url: \"git@github.com:mapbox/mapbox-common-ios.git\", from:",
with: ".package(url: \"git@github.com:mapbox/mapbox-common-ios.git\", from: \"\(marketingVersion)\"),",
try replaceLineContaining(".package(url: \"https://github.com/mapbox/mapbox-common-ios.git\", from:",
with: ".package(url: \"https://github.com/mapbox/mapbox-common-ios.git\", from: \"\(marketingVersion)\"),",
in: readmeURL)

try replaceLineContaining("pod 'MapboxCommon'",
Expand Down

0 comments on commit 4ac87e6

Please sign in to comment.