Skip to content

Commit 8b3ac89

Browse files
committed
preserve doc_current on N.x
(cherry picked from commit dfb4e27)
1 parent 6ca80ba commit 8b3ac89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/scripts/Versioning.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ module Versioning =
4444
let doc_current =
4545
match globalJson.doc_current with
4646
| "master" -> "master"
47+
| s when s.EndsWith(".x") -> sprintf "%i.x" version.Major
4748
| _ -> sprintf "%i.%i" version.Major version.Minor
4849
let doc_branch =
4950
match globalJson.doc_current with

0 commit comments

Comments
 (0)