Skip to content

Commit

Permalink
Set version to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-cbon committed Jun 25, 2016
1 parent 6663faa commit bb76251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ install:
build_script:
- glide install
- set GOARCH=386
- go build -o go-msi.exe main.go
- go build -o go-msi.exe main.go --ldflags "-X main.VERSION=%APPVEYOR_REPO_TAG_NAME%"
- .\go-msi.exe make --msi %APPVEYOR_BUILD_FOLDER%\go-msi-%APPVEYOR_REPO_TAG_NAME%-x86.msi --version %APPVEYOR_REPO_TAG_NAME% --arch x86
- echo %GOARCH%
- set GOARCH=amd64
- go build -o go-msi.exe main.go
- go build -o go-msi.exe main.go --ldflags "-X main.VERSION=%APPVEYOR_REPO_TAG_NAME%"
- .\go-msi.exe make --msi %APPVEYOR_BUILD_FOLDER%\go-msi-%APPVEYOR_REPO_TAG_NAME%-x64.msi --version %APPVEYOR_REPO_TAG_NAME% --arch x64
- echo %GOARCH%

Expand Down

0 comments on commit bb76251

Please sign in to comment.