File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ changelog {
8888task(" 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}
You can’t perform that action at this time.
0 commit comments