From 996bb0785599c7a7929c1bfa26f85ecf66377562 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 19 Dec 2017 12:32:23 +0800 Subject: [PATCH] fix(appveyor): update split --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index ba33fa6..2f7d36a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -46,7 +46,7 @@ deploy_script: } else { docker login --username $env:DOCKER_USERNAME --password $env:DOCKER_PASSWORD if ( $env:APPVEYOR_REPO_TAG -eq 'true' ) { - $major,$minor,$patch = $env:APPVEYOR_REPO_TAG_NAME.substring(1).split('.') + $major,$minor,$patch = $env:APPVEYOR_REPO_TAG_NAME.split('.') docker push appleboy/drone-telegram:windows docker tag appleboy/drone-telegram:windows appleboy/drone-telegram:$major.$minor.$patch-windows docker push appleboy/drone-telegram:$major.$minor.$patch-windows