let travis build release instead of plugin
This commit is contained in:
parent
4000b30eed
commit
b155bc8aae
2 changed files with 8 additions and 12 deletions
|
@ -7,3 +7,11 @@ cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.gradle/caches/
|
- $HOME/.gradle/caches/
|
||||||
- $HOME/.gradle/wrapper/
|
- $HOME/.gradle/wrapper/
|
||||||
|
deploy:
|
||||||
|
provider: releases
|
||||||
|
api_key:
|
||||||
|
secure: jRY9FzaK5ThU9hsey9rpMH3E3SHZIIK1W2IRZjmjagMTCTACL7tN7JbdKqGR6zVuhCBTlLVsbEOa7tatW/eIwCfduQAAu4kxfrP5RGH1sOyWj0wCIhiu1sVVeSJAzdb8Qek6ambzEGG39XSqdoAXQKIh5XDyebw9TDbEWV5dqx0dHsrXZERagMFay0ShOUYYUINo8nuOD7VlF+Tc26jmDTJ85BDNsklMcel/s6PjAAD406XCKdHhJhGU6p7g/p4y8z1djUR+SS7Hu18phv1hWsZy6D+9G9UU7a1itLOpfzwvSozYvqxj/JmZjeGBElGof4vRYlwh1wifEQiqtS5HF3eRK8JEwdWE0ArEwp+wlgHiFUsw4PBP5GsuismM0Hero/lhTChKYWfmiW1aQ1INIC2vSuSTpjqitW44/0UcPwzkgpcGES2TZcmqE/kB9vByzUYPdGW9RcIy9S3biPpnOdw32D+Bcpc2kRLIa/MR4074nlP8OY7yQMpTKsle1s1Urq1HDeBdsVnN2TF+4VtM0myJ4VibRqaZXGu8UO1b3UDCrGj4iYHGyqF9FOwN2G0kSaRcyfQzx7ME82NnYU07ohAUhorsSS6wifzy1HsoSXSDJJQQV5Ud17waeWZQrjMq+Sy10WwVBgtexf9FMHfKdj0NS6oqScjgZU0nGHzkZ5g=
|
||||||
|
file: build/libs/acra.war
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
|
12
build.gradle
12
build.gradle
|
@ -23,7 +23,6 @@ plugins {
|
||||||
id 'io.spring.dependency-management' version '1.0.5.RELEASE'
|
id 'io.spring.dependency-management' version '1.0.5.RELEASE'
|
||||||
id 'cn.bestwu.propdeps' version '0.0.10'
|
id 'cn.bestwu.propdeps' version '0.0.10'
|
||||||
id 'net.researchgate.release' version '2.6.0'
|
id 'net.researchgate.release' version '2.6.0'
|
||||||
id 'co.riiid.gradle' version '0.4.2'
|
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
|
@ -154,14 +153,3 @@ release {
|
||||||
tagTemplate = 'v$version'
|
tagTemplate = 'v$version'
|
||||||
}
|
}
|
||||||
|
|
||||||
github {
|
|
||||||
owner = 'F43nd1r'
|
|
||||||
repo = 'Acrarium'
|
|
||||||
token = project.hasProperty('githubKey') ? project.githubKey : '';
|
|
||||||
tagName = 'v'+ (project.version.endsWith('-SNAPSHOT') ? project.version - '-SNAPSHOT' : project.version)
|
|
||||||
prerelease = true
|
|
||||||
assets = "$buildDir/libs/acra.war"
|
|
||||||
}
|
|
||||||
|
|
||||||
githubRelease.dependsOn(war, 'release')
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue