File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 - $HOME/.gradle/wrapper/
2121
2222deploy :
23- # 发布到 GitHub Release
2423 - provider : releases
2524 skip_cleanup : true
2625 file_glob : true
@@ -29,6 +28,11 @@ deploy:
2928 on :
3029 tags : true
3130 branch : version2
31+ - provider : script
32+ script : ./gradlew bintrayUpload
33+ on :
34+ tags : true
35+ branch : master
3236
3337notifications :
3438 webhooks : https://oapi.dingtalk.com/robot/send?access_token=4b59c5ece57fc88af8fda28cc07573c4caf525aa69afc0cc888ccf3ce6dbe41b
Original file line number Diff line number Diff line change @@ -80,4 +80,27 @@ artifacts {
8080 add(" archives" , fat)
8181 add(" archives" , sources)
8282 add(" archives" , doc)
83+ }
84+
85+ bintray {
86+ user = " mechdancer"
87+ key = System .getenv(" BintrayToken" )
88+ setConfigurations(" archives" )
89+ val v = version.toString()
90+ val url = " https://github.com/MechDancer/linearalgebra"
91+ pkg.apply {
92+ name = project.name
93+ desc = " linearalgebra kotlin utilities"
94+ repo = " maven"
95+ githubRepo = " MechDancer/linearalgebra"
96+ vcsUrl = " $url .git"
97+ issueTrackerUrl = " $url /issues"
98+ publicDownloadNumbers = true
99+ setLicenses(" WTFPL" )
100+ version.apply {
101+ name = v
102+ vcsTag = v
103+ websiteUrl = " $url /releases/tag/$v "
104+ }
105+ }
83106}
You can’t perform that action at this time.
0 commit comments