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