fix: update build script

This commit is contained in:
Lakhan Samani
2021-12-29 05:10:21 +05:30
parent 4c53eb97d2
commit 43dce69cce
6 changed files with 28 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
VERSION="$1"
make clean && CGO_ENABLED=1 VERSION=${VERSION} make
make clean && make build-app && CGO_ENABLED=1 VERSION=${VERSION} make
FILE_NAME=authorizer-${VERSION}-darwin-amd64.tar.gz
tar cvfz ${FILE_NAME} .env app/build build templates
AUTH="Authorization: token $GITHUB_TOKEN"