Skip to content

Commit 48287fc

Browse files
authored
update to reference initial tag (#175)
Signed-off-by: Joe Heck <[email protected]>
1 parent 74c2751 commit 48287fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/Valkey/Documentation.docc/getting-started.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,16 @@ You can use the `add-dependency` command:
1212

1313
```bash
1414
swift package add-dependency \
15-
https://github.com/valkey-io/valkey-swift --branch main
15+
https://github.com/valkey-io/valkey-swift --from: 0.1.0
1616
```
17-
<!-- switch above to `--from: 0.1.0` after tagging an initial release -->
1817

1918
or edit Package.swift directly:
2019
```swift
2120
dependencies: [
2221
.package(url: "https://github.com/valkey-io/valkey-swift",
23-
branch: "main"),
22+
from: "0.1.0"),
2423
]
2524
```
26-
<!-- switch above to `from: "0.1.0"` after tagging an initial release -->
2725

2826
And for the relevant target or targets.
2927
The following example shows how to add to Valkey as a dependency to the target `MyApp`:

0 commit comments

Comments
 (0)