update build.gradle

This commit is contained in:
Flemmli97
2022-02-28 15:16:10 +01:00
parent 13e4e66d13
commit df24bfbe64
+1 -1
View File
@@ -79,7 +79,7 @@ def changelog(int versions) {
def changelog = ""
def match = 0
file("Changelog.md").eachLine {
if (it.matches("${project.project_name} ([0-9].[0-9].[0-9])"))
if (it.matches("${project.project_name} ([0-9].([0-9]*).([0-9]*))"))
match++
if (match <= versions) {
changelog += it + "\n"