Skip to content

Commit

Permalink
Merge pull request #3 from krallin/os-builds
Browse files Browse the repository at this point in the history
Include OS name in build
  • Loading branch information
krallin authored Jul 11, 2017
2 parents afea521 + b23fb6a commit ba44170
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
- stage: build
script:
- mkdir -p dist
- for arch in amd64 386 arm arm64; do GOARCH="$arch" go build && mv supercronic "dist/supercronic-${arch}"; done
- export GOOS="linux"
- for arch in amd64 386 arm arm64; do GOARCH="$arch" go build && mv supercronic "dist/supercronic-${GOOS}-${arch}"; done
- pushd dist
- ls -lah *
- file *
Expand Down

0 comments on commit ba44170

Please sign in to comment.