Skip to content

Commit 9f72ad0

Browse files
committed
[doc] Add a table to map release tags from the compiler to SwiftSyntax.
1 parent 26b6ef6 commit 9f72ad0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ let package = Package(
2626
)
2727
```
2828

29-
Replace `<#Specify Release tag#>` by the version of SwiftSyntax that you want to use. Tags will be created for every release of the compiler in the form `swift-4.2-RELEASE` and for every nightly build in the form `swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-25-a`.
29+
Replace `<#Specify Release tag#>` by the version of SwiftSyntax that you want to use (see the following table for mapping details). Tags will be created for every nightly build in the form `<SwiftSyntax Release Tag>-DEVELOPMENT-SNAPSHOT-<DATE>`.
30+
31+
32+
| Swift Release Tag | SwiftSyntax Release Tag |
33+
|:-------------------:|:-------------------------:|
34+
| swift-4.2-RELEASE | 0.40200.0 |
35+
3036

3137
Then, import `SwiftSyntax` in your Swift code.
3238

0 commit comments

Comments
 (0)