Skip to content

Commit

Permalink
Try to simplify message
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTimchenkoLightspeed committed Jan 14, 2025
1 parent a180a6b commit 1f90a47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:

- name: Build, run tests and upload dev snapshot to Maven Central with Gradle
run: |
./gradlew devSnapshot printDevSnapshotReleaseNote && ./gradlew printSanitizedVersion >> $GITHUB_STEP_SUMMARY
./gradlew devSnapshot printDevSnapshotReleaseNote printSanitizedVersion
cat sanitized-version.md >> $GITHUB_STEP_SUMMARY
env:
STORE_ID: ${{ secrets.STORE_ID }}
API_TOKEN: ${{ secrets.API_TOKEN }}
Expand Down
4 changes: 1 addition & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ tasks.register(Tasks.PRINT_DEV_SNAPSHOT_RELEASE_NOTE_TASK_NAME) {
dependsOn(tasks.getByName("devSnapshot"))
}



tasks.register(Tasks.PRINT_SUMMARY_SANITIZED_TASK_NAME) {
doLast {
printSanitizedVersion(project.sanitizeVersion())
Expand Down Expand Up @@ -288,7 +286,7 @@ fun printSanitizedVersion(sanitizedVersion: String): String {
|**Version:** $sanitizedVersion
|
""".trimMargin()
println(markdownMessage)
File("sanitized_version.md").writeText(markdownMessage)
return markdownMessage
}

Expand Down

0 comments on commit 1f90a47

Please sign in to comment.