Skip to content

Commit

Permalink
TECH: remove "snapshot" part of the kaspresso version (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikitae57 authored Apr 27, 2023
1 parent 1cde812 commit 956feb4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ tasks.register("checkLegalDocuments") {
"Legal document doesn't contain module name (${project.name}). Document path: $file"
}

val kaspressoVersion = project.property("kaspresso.snapshotVersion")
require(firstLine.contains("$kaspressoVersion")) {
val kaspressoVersion = project.property("kaspresso.snapshotVersion").toString().split("-SNAPSHOT").first()
require(firstLine.contains(kaspressoVersion)) {
"Failed to check whether the existing NOTICE.txt was made for the current release ($kaspressoVersion)"
}

Expand Down

0 comments on commit 956feb4

Please sign in to comment.