Fix arch name typo
This commit is contained in:
parent
7fdbdad140
commit
b4ca3412dd
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue