fix: generate-help-script

Binary path is different, need to adapt
This commit is contained in:
sh0rez 2020-03-02 16:43:11 +01:00
parent 4f76fe7be6
commit 7beb30ed18
2 changed files with 2 additions and 4 deletions

View file

@ -1,10 +1,8 @@
#!/usr/bin/env bash
BINARY_NAME=jb
GOOS=$(go env GOOS)
GOARCH=$(go env GOARCH)
HELP_FILE=$PWD/_output/help.txt
echo "$ $BINARY_NAME -h" > $HELP_FILE
$PWD/_output/$GOOS/$GOARCH/$BINARY_NAME 2>> $HELP_FILE
$PWD/_output/$BINARY_NAME 2>> $HELP_FILE
exit 0