Fix arch name typo

This commit is contained in:
Calle Pettersson 2016-12-25 07:55:42 +01:00 committed by GitHub
parent 7fdbdad140
commit b4ca3412dd
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ environment:
matrix: matrix:
- MSI_ARCH: amd64 - MSI_ARCH: amd64
GOARCH: amd64 GOARCH: amd64
- MSI_ARCH: x86 - MSI_ARCH: 386
GOARCH: 386 GOARCH: 386
clone_folder: c:\gopath\src\github.com\martinlindhe\wmi_exporter clone_folder: c:\gopath\src\github.com\martinlindhe\wmi_exporter
@ -24,6 +24,7 @@ build_script:
- govendor test -v +local - govendor test -v +local
- promu build -v . - promu build -v .
- ps: | - ps: |
$ErrorActionPreference = "Stop"
if($env:APPVEYOR_REPO_TAG -eq "True") { if($env:APPVEYOR_REPO_TAG -eq "True") {
# The MSI version is not semver compliant, so just take the numerical parts # The MSI version is not semver compliant, so just take the numerical parts
$Version = $env:APPVEYOR_REPO_TAG_NAME -replace '^v?([0-9\.]+).*$','$1' $Version = $env:APPVEYOR_REPO_TAG_NAME -replace '^v?([0-9\.]+).*$','$1'