Skip to content

Commit

Permalink
auto deploy release files
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Dec 7, 2015
1 parent bded6ba commit 831a8e5
Show file tree
Hide file tree
Showing 202 changed files with 31,660 additions and 13 deletions.
1 change: 1 addition & 0 deletions .drone.sec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.lG84en0N7UeCNd8ZJXVmwTvLhb0nIPTJdRhP_aTMcAtDVnXAJgHFOcgYkhc1YWW_dMRrSWA8gCgucFesar5DMvFeXj580Jyc17nUfSeShoZpsVJ-RIDyQ5k1zFCoskJNrazSQtelQKtz0IpQvo-OLmDsqqn8u44jt-XiCcXwgb5Wa-kBLGchuCeUc3bqmRj1oRwYkx616rwHybjHQg08g2gHHXDVFWQEvup1cu9Y6KYaepKKKnpn0HEFAh2TYBGSnUMre5DAbQRGpuK3CCCP2B9a8xUp0mJuIPwF58uzUsXNJHiEBJ6CvR02gR2GPzG83Xwx5_5cMR2A1pICx59lLA.-U379Q7zmakJUI8Y.qUJtiwBo5yuf5wcMmSnYBqyq8b2hUHP5DlWae4TS_jacnpbBfEFKQY2EMyqxyvpooHDwGSi_8l2tls1EoQW355Xat3BnnPCsZ84glo5DnnMbJQhOUxtLyCwqHORnLUmjwreGl_TPJxgUL-W00gP0D8XCtYSB4aOHx77p7X1Q6jdiCL3BMQ7F2iY1mlsDBl5mFA.MAmz3dPyJQEIQkm_V1Jlmw
33 changes: 20 additions & 13 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,25 @@ build:
commands:

# compile lgtm for all architectures
- GOOS=linux GOARCH=amd64 go build -o ./bin/linux_amd64/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=linux GOARCH=386 go build -o ./bin/linux_386/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=linux GOARCH=arm go build -o ./bin/linux_arm/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=darwin GOARCH=amd64 go build -o ./bin/darwin_amd64/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=windows GOARCH=386 go build -o ./bin/windows_386/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=windows GOARCH=amd64 go build -o ./bin/windows_amd64/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=linux GOARCH=amd64 go build -o ./release/linux_amd64/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=linux GOARCH=386 go build -o ./release/linux_386/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=linux GOARCH=arm go build -o ./release/linux_arm/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=darwin GOARCH=amd64 go build -o ./release/darwin_amd64/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=windows GOARCH=386 go build -o ./release/windows_386/lgtm github.com/lgtmco/lgtm-cli/lgtm
- GOOS=windows GOARCH=amd64 go build -o ./release/windows_amd64/lgtm github.com/lgtmco/lgtm-cli/lgtm

# tar binary files prior to upload
- mkdir dist
- tar -cvzf dist/lgtm_linux_amd64.tar.gz --directory=bin/linux_amd64 lgtm
- tar -cvzf dist/lgtm_linux_386.tar.gz --directory=bin/linux_386 lgtm
- tar -cvzf dist/lgtm_linux_arm.tar.gz --directory=bin/linux_arm lgtm
- tar -cvzf dist/lgtm_darwin_amd64.tar.gz --directory=bin/darwin_amd64 lgtm
- tar -cvzf dist/lgtm_windows_386.tar.gz --directory=bin/windows_386 lgtm
- tar -cvzf dist/lgtm_windows_amd64.tar.gz --directory=bin/windows_amd64 lgtm
- tar -cvzf release/lgtm_linux_amd64.tar.gz --directory=release/linux_amd64 lgtm
- tar -cvzf release/lgtm_linux_386.tar.gz --directory=release/linux_386 lgtm
- tar -cvzf release/lgtm_linux_arm.tar.gz --directory=release/linux_arm lgtm
- tar -cvzf release/lgtm_darwin_amd64.tar.gz --directory=release/darwin_amd64 lgtm
- tar -cvzf release/lgtm_windows_386.tar.gz --directory=release/windows_386 lgtm
- tar -cvzf release/lgtm_windows_amd64.tar.gz --directory=release/windows_amd64 lgtm

publish:
github_release:
api_key: $$GITHUB_TOKEN
files:
- release/*.tar.gz
when:
event: tag
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ _testmain.go
*.test
*.prof

release/
lgtm/lgtm
3 changes: 3 additions & 0 deletions vendor/github.com/BurntSushi/toml/COMPATIBLE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions vendor/github.com/BurntSushi/toml/COPYING

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions vendor/github.com/BurntSushi/toml/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

218 changes: 218 additions & 0 deletions vendor/github.com/BurntSushi/toml/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 831a8e5

Please sign in to comment.