Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 8c55b64

Browse files
authored
Fix Swift version semantics (#594)
# Contributor agreement - [x] I have read and agree to the [Contributor Agreement](https://github.com/kuzudb/kuzu-docs/blob/main/CLA.md).
1 parent 02a6bbf commit 8c55b64

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/content/docs/get-started/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ let package = Package(
3838
.iOS(.v14),
3939
],
4040
dependencies: [
41-
.package(url: "https://github.com/kuzudb/kuzu-swift/", branch: "v${version}"),
41+
.package(url: "https://github.com/kuzudb/kuzu-swift/", branch: "${version}"),
4242
],
4343
targets: [
4444
// Targets are the basic building blocks of a package, defining a module or a test suite.

src/content/docs/installation.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tar xzf libkuzu-*.tar.gz`,
4040
},
4141
go: `go get github.com/kuzudb/go-kuzu@v${version}`,
4242
swift: `dependencies: [
43-
.package(url: "https://github.com/kuzudb/kuzu-swift/", branch: "v${version}"),
43+
.package(url: "https://github.com/kuzudb/kuzu-swift/", branch: "${version}"),
4444
],`
4545
}
4646

@@ -195,7 +195,7 @@ To add `kuzu-swift` to your Swift project, you can use the Swift package manager
195195
1. Add the package to your Package.swift dependencies.
196196
<Code code={DOWNLOAD_LINKS.swift} lang="swift" frame="terminal"/>
197197

198-
You can change the branch to a tag to use a specific version (e.g., v{version} for the latest stable release or `main` for the latest development version).
198+
You can change the branch to a tag to use a specific version (e.g., {version} for the latest stable release or `main` for the latest development version).
199199

200200
2. Add `Kuzu` to your target dependencies.
201201
```swift
@@ -213,7 +213,7 @@ Alternatively, you can add the package through Xcode:
213213
1. Open your Xcode project.
214214
2. Go to `File` > `Add Packages Dependencies...`.
215215
3. Enter the URL of the kuzu-swift repository: `https://github.com/kuzudb/kuzu-swift`.
216-
4. Select the version you want to use (e.g., v{version} for the latest stable release or `main` for the latest development version).
216+
4. Select the version you want to use (e.g., {version} for the latest stable release or `main` for the latest development version).
217217

218218

219219
## C/C++

0 commit comments

Comments
 (0)