Skip to content

Commit

Permalink
Update documentation/documentation.gradle.kts
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Philipp <mail@marcphilipp.de>
  • Loading branch information
sormuras and marcphilipp committed Jun 10, 2024
1 parent dbd9344 commit 94baa6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/documentation.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ asciidoctorj {


val datetime = ZonedDateTime.now().format(DateTimeFormatter.ofPattern("yyyy.MM.dd.HH.mm"))
var githubSha : String? = System.getenv("GITHUB_SHA")
val buildRevision: String by rootProject.extra
val snapshot = rootProject.version.toString().contains("SNAPSHOT")
val docsVersion = if (snapshot) "snapshot" else rootProject.version
val releaseBranch = if (snapshot) "HEAD" else "r${rootProject.version}"
Expand Down

0 comments on commit 94baa6e

Please sign in to comment.