Skip to content

Commit

Permalink
Changing path of build target for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
berglh authored Jun 4, 2018
1 parent 12d4689 commit 7f8ee74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ before_install:
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
script:
- gox -osarch="linux/amd64 linux/386 darwin/amd64 darwin/386 windows/386 windows/amd64" -output="test2/{{.Dir}}-$TRAVIS_TAG-{{.OS}}-{{.Arch}}"
- gox -osarch="linux/amd64 linux/386 darwin/amd64 darwin/386 windows/386 windows/amd64" -output="build/{{.Dir}}-$TRAVIS_TAG-{{.OS}}-{{.Arch}}"
- mkdir dist && cd build
- 'for i in *.exe; do cp $i escroll.exe; zip ../dist/$(echo $i | sed -e "s/.exe//g").zip escroll.exe; rm escroll.exe; done'
- 'for i in $(ls escroll-* | grep -v exe); do cp $i escroll; tar -zcvf ../dist/$i.tar.gz escroll; rm escroll; done'
Expand Down

0 comments on commit 7f8ee74

Please sign in to comment.