Skip to content

Commit d97a908

Browse files
committed
Update version update in contributing guide
1 parent 75ad0f3 commit d97a908

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,20 @@ _[Read more about this](https://github.com/meilisearch/integration-guides/blob/m
119119

120120
⚠️ Before doing anything, make sure you got through the guide about [Releasing an Integration](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md).
121121

122-
Make a PR modifying the file [`MeiliSearch.podspec`](/MeiliSearch.podspec) with the right version.
122+
Make a PR updating the different versions with the new one on these files:
123+
- [`MeiliSearch.podspec`](/MeiliSearch.podspec):
124+
```ruby
125+
s.version = 'X.X.X'
126+
```
127+
- [`.code-samples.meilisearch.yaml`](/.code-samples.meilisearch.yaml) on the line containing the following:
128+
```ruby
129+
.package(url: "https://github.com/meilisearch/meilisearch-swift.git", from: "X.X.X")
130+
```
131+
- [`README.md`](/README.md) on the line containing the following:
132+
```ruby
133+
.package(url: "https://github.com/meilisearch/meilisearch-swift.git", from: "X.X.X")
134+
```
123135

124-
```ruby
125-
s.version = 'X.X.X'
126-
```
127136

128137
Once the changes are merged on `main`, you can publish the current draft release via the [GitHub interface](https://github.com/meilisearch/meilisearch-swift/releases): on this page, click on `Edit` (related to the draft release) > update the description (be sure you apply [these recommandations](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md#writting-the-release-description)) > when you are ready, click on `Publish release`.
129138

0 commit comments

Comments
 (0)