Skip to content

Commit

Permalink
setup k build
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Apr 7, 2015
1 parent 75b6c63 commit 62fe36d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.14.{build}
version: 0.15.{build}
clone_folder: c:\gopath\src\github.com\mackerelio\mackerel-agent
environment:
GOPATH: c:\gopath
Expand Down Expand Up @@ -30,12 +30,12 @@ deploy:
provider: GitHub
auth_token:
secure: nT6f+l3sILrBAyVGLE1il+wkv5BvrnEnVkiPGDZQegePa81MUC4AIDTNQ/gX8AWW
artifact: mackerel-agent-msi
artifact: mackerel-agent-k-msi
draft: true
prerelease: true
appveyor_repo_tag: true
on:
appveyor_repo_tag: true
artifacts:
- path: build\mackerel-agent.msi
name: mackerel-agent-msi
- path: build\mackerel-agent-k.msi
name: mackerel-agent-k-msi
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set VERSION=%VERSION:v=%

echo %VERSION%

go build -o build/mackerel-agent.exe -ldflags="-X github.com/mackerelio/mackerel-agent/version.GITCOMMIT %COMMIT% -X github.com/mackerelio/mackerel-agent/version.VERSION %VERSION% " github.com/mackerelio/mackerel-agent
go build -o build/mackerel-agent.exe -ldflags="-X github.com/mackerelio/mackerel-agent/version.GITCOMMIT %COMMIT% -X github.com/mackerelio/mackerel-agent/version.VERSION %VERSION% -X github.com/mackerelio/mackerel-agent/config.apibase http://10.197.0.4 " github.com/mackerelio/mackerel-agent
2 changes: 1 addition & 1 deletion wix/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ del /F mackerel-agent.wxs
..\build\replace.exe mackerel-agent.wxs.template mackerel-agent.wxs "___VERSION___" "%VERSION%"

"%WIX%bin\candle.exe" mackerel-agent.wxs
"%WIX%bin\light.exe" -ext WixUIExtension -out "..\build\mackerel-agent.msi" mackerel-agent.wixobj
"%WIX%bin\light.exe" -ext WixUIExtension -out "..\build\mackerel-agent-k.msi" mackerel-agent.wixobj

0 comments on commit 62fe36d

Please sign in to comment.