Skip to content

Commit

Permalink
Replace all version numbers in README.md when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux committed Jan 8, 2025
1 parent c952393 commit 58e8c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Or if you prefer Swift Package Manager:

```
dependencies: [
.package(url: "https://github.com/seatsio/seatsio-ios", from: "18.0.0")
.package(url: "https://github.com/seatsio/seatsio-ios", from: "18.1.0")
]
```

Expand Down
2 changes: 1 addition & 1 deletion release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function replaceInFile(filename, latestVersion, nextVersion) {
}
return text
})
.then(text => text.replace(latestVersion, nextVersion))
.then(text => text.replaceAll(latestVersion, nextVersion))
.then(text => fs.writeFileSync(filename, text))
.then(() => gitAdd(filename))
}
Expand Down

0 comments on commit 58e8c9d

Please sign in to comment.