fix(appveyor): update version.
This commit is contained in:
parent
996bb07855
commit
8a1870f7d5
@ -29,7 +29,7 @@ build_script:
|
|||||||
if ( $env:APPVEYOR_REPO_TAG -eq 'false' ) {
|
if ( $env:APPVEYOR_REPO_TAG -eq 'false' ) {
|
||||||
go build -ldflags "-X main.build=$env:APPVEYOR_BUILD_VERSION" -a -o drone-telegram.exe
|
go build -ldflags "-X main.build=$env:APPVEYOR_BUILD_VERSION" -a -o drone-telegram.exe
|
||||||
} else {
|
} 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
|
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
|
docker pull microsoft/nanoserver:10.0.14393.1884
|
||||||
|
Loading…
Reference in New Issue
Block a user