fix(appveyor): update split
This commit is contained in:
parent
9dfbd29ced
commit
996bb07855
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user