Skip to content

Commit eed4d88

Browse files
committed
Update changelog command and fix tag sorting in build.gradle.kts
1 parent a6b718d commit eed4d88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/update_changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Run Gradle updateChangelog
6060
id: updateChangelog
6161
run: |
62-
./gradlew updateChangelog -PreleaseDate=$(date +'%Y-%m-%d')
62+
./gradlew updateChangelog -PreleaseDate=$(date +'%Y-%m-%d') --no-configuration-cache
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6565

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ tasks.register("updateChangelog") {
278278
.trim()
279279
}
280280

281-
val tagsOutput = runCommand("git tag --sort=-v:creatordate")
281+
val tagsOutput = runCommand("git tag --sort=-creatordate")
282282
val semverRegex = Regex("^\\d+\\.\\d+\\.\\d+$")
283283
val tags = tagsOutput.lines().filter { semverRegex.matches(it) }
284284
if (tags.isEmpty()) {

0 commit comments

Comments
 (0)