Fix which would not run correctly if run from a different directory #27

merged 2 commits into from Jan 1, 2017


None yet

2 participants

sjmudd commented Dec 30, 2016 edited

If you run from a different directory it may not work correctly.

e.g. cd go/discovery && ../../ -b gave an error due to RELEASE_VERSION not being found.

Now this works:

[myuser@myhost ~/src/orchestrator/src/]$ export GOPATH=~/src/orchestrator
[myuser@myhost ~/src/orchestrator/src/]$ ../../ -b
Build only; no packaging
Building via go version go1.7 darwin/amd64
orchestrator binary created
binary copied to orchestrator-cli
orchestrator build done; exit status is 0
[myuser@myhost ~/src/orchestrator/src/]$ 
@shlomi-noach shlomi-noach merged commit 513ebcf into master Jan 1, 2017

1 check passed

orchestrator-build-deploy-tarball Build #5069792 succeeded in 15s
@shlomi-noach shlomi-noach deleted the build_sh_fix branch Jan 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment