fix: add version to the darwin build

This commit is contained in:
Lakhan Samani
2021-09-13 11:53:10 +05:30
parent 359e6a51d9
commit e0ea0a0c07

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"