fix(appveyor): update version.

This commit is contained in:
Bo-Yi Wu 2017-12-19 16:59:35 +08:00
parent 996bb07855
commit 8a1870f7d5

View File

@ -29,7 +29,7 @@ build_script:
if ( $env:APPVEYOR_REPO_TAG -eq 'false' ) {
go build -ldflags "-X main.build=$env:APPVEYOR_BUILD_VERSION" -a -o drone-telegram.exe
} else {
$version = $env:APPVEYOR_REPO_TAG_NAME.substring(1)
$version = $env:APPVEYOR_REPO_TAG_NAME
go build -ldflags "-X main.Version=$version -X main.build=$env:APPVEYOR_BUILD_VERSION" -a -o drone-telegram.exe
}
docker pull microsoft/nanoserver:10.0.14393.1884