fix: add version to the darwin build

This commit is contained in:
Lakhan Samani 2021-09-13 11:53:10 +05:30
parent 36ea6a0a72
commit adf4f1902d

View File

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