Skip to content

Commit 8b0405d

Browse files
authored
Merge pull request #96 from domaframework/fix/update-version-draft-release
Add option --no-configuration-cache
2 parents ff715db + 4636431 commit 8b0405d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
env:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7474
run: |
75-
./gradlew replaceDraftVersion -PdraftVersion=$RELEASE_VERSION
75+
./gradlew replaceDraftVersion -PdraftVersion=$RELEASE_VERSION --no-configuration-cache
7676
7777
- name: Commit New Version
7878
env:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Update Version
6363
run: |
64-
./gradlew replaceNewVersion -PnewVersion=${{ github.event.release.tag_name }}
64+
./gradlew replaceNewVersion -PnewVersion=${{ github.event.release.tag_name }} --no-configuration-cache
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ tasks.register("replaceDraftVersion") {
648648
println("Set Replace version in GITHUB_ENV: $draftVersion")
649649
} catch (e: NullPointerException) {
650650
println("GITHUB_ENV not found")
651-
println(e.stackTrace)
651+
println(e.printStackTrace())
652652
}
653653
}
654654
}

0 commit comments

Comments
 (0)