Skip to content
Snippets Groups Projects
Commit 1d212576 authored by Spencer Brown's avatar Spencer Brown
Browse files

Change downloaded channelbot to executable. Have build.sh run go generate

parent 1b33377e
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,7 @@ installbinaries: ...@@ -50,6 +50,7 @@ installbinaries:
- "curl -f -L -H \"PRIVATE-TOKEN: $PATKEY\" -o bin/client $CLIENT_URL" - "curl -f -L -H \"PRIVATE-TOKEN: $PATKEY\" -o bin/client $CLIENT_URL"
- chmod +x bin/client - chmod +x bin/client
- "curl -f -L -H \"PRIVATE-TOKEN: $PATKEY\" -o bin/channelbot $CHANNELBOT_URL" - "curl -f -L -H \"PRIVATE-TOKEN: $PATKEY\" -o bin/channelbot $CHANNELBOT_URL"
- chmod +x bin/channelbot
- echo $PWD - echo $PWD
- find bin/ -type f -exec file {} \; - find bin/ -type f -exec file {} \;
artifacts: artifacts:
......
...@@ -5,16 +5,19 @@ ...@@ -5,16 +5,19 @@
# with Glide. # with Glide.
pushd $GOPATH/src/gitlab.com/privategrity/client pushd $GOPATH/src/gitlab.com/privategrity/client
go generate cmd/version.go
go build go build
popd popd
mv $GOPATH/src/gitlab.com/privategrity/client/client bin mv $GOPATH/src/gitlab.com/privategrity/client/client bin
pushd $GOPATH/src/gitlab.com/privategrity/server pushd $GOPATH/src/gitlab.com/privategrity/server
go generate cmd/version.go
go build go build
popd popd
mv $GOPATH/src/gitlab.com/privategrity/server/server bin mv $GOPATH/src/gitlab.com/privategrity/server/server bin
pushd $GOPATH/src/gitlab.com/privategrity/channelbot pushd $GOPATH/src/gitlab.com/privategrity/channelbot
go generate cmd/version.go
go build go build
popd popd
mv $GOPATH/src/gitlab.com/privategrity/channelbot/channelbot bin mv $GOPATH/src/gitlab.com/privategrity/channelbot/channelbot bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment