Skip to content

Commit 044d5e8

Browse files
committed
Update .travis.yml
1 parent 468476b commit 044d5e8

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

.travis.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,10 @@ deploy:
1616
file_glob: true
1717
file: build/distributions/JsonToKotlinClass*.zip
1818
skip_cleanup: true
19-
prerelease: false
2019
release_notes_file: "./githubReleaseNote.md"
2120
on:
2221
tags: true
2322
repo: wuseal/JsonToKotlinClass
24-
condition: "$TRAVIS_TAG =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$"
25-
- provider: releases
26-
api_key: $GH_TOKEN
27-
file_glob: true
28-
file: build/distributions/JsonToKotlinClass*.zip
29-
skip_cleanup: true
30-
prerelease: true
31-
release_notes_file: "./githubReleaseNote.md"
32-
on:
33-
tags: true
34-
repo: wuseal/JsonToKotlinClass
35-
condition: "$TRAVIS_TAG =~ (eap|EAP)"
3623
- provider: script
3724
script: "./gradlew publishPlugin -Dchannels=eap"
3825
skip_cleanup: true

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ changelog {
8888
task("createGithubReleaseNotes") {
8989
doLast {
9090
val githubReleaseNoteFile = file("./githubReleaseNote.md")
91-
val content = file("${projectDir}/doc/CHANGELOG.md").readText()
92-
.substringAfter("**").substringBefore("##").trim().prependIndent("**")
91+
val content ="**" + file("${projectDir}/doc/CHANGELOG.md").readText()
92+
.substringAfter("**").substringBefore("##").trim()
9393
githubReleaseNoteFile.writeText(content)
9494
}
9595
}

0 commit comments

Comments
 (0)