Skip to content

Commit 34bc12e

Browse files
committed
Calls the CustomVersionTask
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
1 parent a434713 commit 34bc12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ tasks.register('upload') {
333333
doLast {
334334
ssh.run {
335335
session(remotes.webServer) {
336-
def versionStable = getVersion(false)
336+
def versionStable = tasks.named('versionTask').get().getVersion(false)
337337
execute "mkdir -p download/${project.name}-${versionStable}"
338338
for (File file: fileTree(include:['*.jar'], dir:"${project.buildDir}/libs").collect()) {
339339
put from: file, into: "download/${project.name}-${versionStable}"

0 commit comments

Comments
 (0)