Skip to content

Commit

Permalink
[skip tests] Print whether it is a latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
anti-social committed May 3, 2023
1 parent a7b1809 commit 8146bc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ mkdocs {
strict = false

val isLatest = grgit.branch.current().name == "master" && docsVersion != "dev"
println("> Is latest version: $isLatest")
publish.apply {
docPath = docsVersion
rootRedirect = isLatest
Expand Down

0 comments on commit 8146bc9

Please sign in to comment.