Skip to content

Commit bf54273

Browse files
committed
Add exe suffix to windows binaries
1 parent 4f3cb41 commit bf54273

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dist: trusty
1818
before_install:
1919
- go get -u golang.org/x/lint/golint
2020
- make deps
21-
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v0.3.0/commander-linux-amd64 -o ~/bin/commander
21+
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v1.2.1/commander-linux-amd64 -o ~/bin/commander
2222
- chmod +x ~/bin/commander
2323

2424
jobs:
@@ -51,7 +51,7 @@ jobs:
5151
before_install:
5252
- choco install make
5353
- choco install curl
54-
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v0.3.0/commander-windows-amd64 -o C:\Windows\system32\commander.exe
54+
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v1.2.1/commander-windows-amd64 -o C:\Windows\system32\commander.exe
5555
script:
5656
- make integration-windows
5757

@@ -83,8 +83,8 @@ jobs:
8383
- release/commander-linux-386
8484
- release/commander-darwin-amd64
8585
- release/commander-darwin-386
86-
- release/commander-windows-amd64
87-
- release/commander-windows-386
86+
- release/commander-windows-amd64.exe
87+
- release/commander-windows-386.exe
8888
skip_cleanup: true
8989
on:
9090
repo: SimonBaeumer/commander

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ release-darwin-386:
6060

6161
release-windows-amd64:
6262
$(info INFO: Starting build $@)
63-
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-windows-amd64 $(exe)
63+
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-windows-amd64.exe $(exe)
6464

6565
release-windows-386:
6666
$(info INFO: Starting build $@)
67-
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-windows-386 $(exe)
67+
CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-windows-386.exe $(exe)
6868

6969

7070
release: release-amd64 release-arm release-386 release-darwin-amd64 release-darwin-386 release-windows-amd64 release-windows-386

0 commit comments

Comments
 (0)