mirror of https://github.com/knative/client.git
fix(build.sh): Fix path to built kn when printing out the version (#77)
The final step when printing out the version of the generated kn binary uses now the proper path, so that this script can be called from any directory (like when the cwd is hacks/).
This commit is contained in:
parent
1cbd7138b6
commit
8caca4589f
|
|
@ -28,4 +28,4 @@ go fmt ${base}/cmd/... ${base}/pkg/...
|
|||
echo "🚧 Building"
|
||||
go build -mod=vendor -ldflags "$(ld_flags ${base}/hack)" -o ${base}/kn ${base}/cmd/...
|
||||
echo "🌞 Success"
|
||||
./kn version
|
||||
${base}/kn version
|
||||
|
|
|
|||
Loading…
Reference in New Issue