mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
Fixed build dir
This commit is contained in:
parent
563f2a1951
commit
8c8337270a
1 changed files with 2 additions and 2 deletions
|
@ -473,11 +473,11 @@ tasks.register('upload') {
|
|||
doLast {
|
||||
println "\nhttps://bitbucket.org/M66B/fairemail-test/downloads/FairEmail-v1." + getVersionCode() + getRevision() + "-" + target + "-release.apk\n"
|
||||
exec {
|
||||
workingDir "${getLayout().getBuildDirectory()}"
|
||||
workingDir "${rootDir}/app/build"
|
||||
commandLine 'curl',
|
||||
'-o', '/dev/null',
|
||||
'-X', 'POST', "https://M66B:" + localProperties.getProperty("bb.pwd", "") + "@api.bitbucket.org/2.0/repositories/M66B/fairemail-test/downloads",
|
||||
'--form', "files=@${getLayout().getBuildDirectory()}/outputs/apk/" + target.split('-')[0] + "/release/FairEmail-v1." + getVersionCode() + getRevision() + "-" + target.split('-')[0] + "-release.apk;" +
|
||||
'--form', "files=@${rootDir}/app/build/outputs/apk/" + target.split('-')[0] + "/release/FairEmail-v1." + getVersionCode() + getRevision() + "-" + target.split('-')[0] + "-release.apk;" +
|
||||
"filename=FairEmail-v1." + getVersionCode() + getRevision() + "-" + target + "-release.apk"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue