Skip to content

Commit f373b83

Browse files
committed
Update .travis.yml
1 parent be4d98a commit f373b83

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,24 @@ deploy:
1717
file: build/distributions/JsonToKotlinClass*.zip
1818
edge: true
1919
skip_cleanup: true
20+
prerelease: true
2021
release_notes_file: "./githubReleaseNote.md"
2122
on:
2223
tags: true
2324
repo: wuseal/JsonToKotlinClass
25+
condition: "$TRAVIS_TAG =~ (eap|EAP)"
26+
- provider: releases
27+
api_key: $GH_TOKEN
28+
file_glob: true
29+
file: build/distributions/JsonToKotlinClass*.zip
30+
edge: true
31+
skip_cleanup: true
32+
prerelease: false
33+
release_notes_file: "./githubReleaseNote.md"
34+
on:
35+
tags: true
36+
repo: wuseal/JsonToKotlinClass
37+
condition: "$TRAVIS_TAG =~ ^[0-9]+\\.[0-9]+\\.[0-9]+$"
2438
- provider: script
2539
script: "./gradlew publishPlugin -Dchannels=eap"
2640
skip_cleanup: true

0 commit comments

Comments
 (0)