From 6af0e717297db022febb364b7d586cef7c29548c Mon Sep 17 00:00:00 2001 From: Jared Jacobson Date: Mon, 13 Sep 2021 11:16:33 +1000 Subject: [PATCH] Modify the build script --- build.sh | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/build.sh b/build.sh index 8196fc653..3efde955c 100755 --- a/build.sh +++ b/build.sh @@ -2,20 +2,7 @@ # Put installed packages into ./bin export GOBIN=$PWD/`dirname $0`/bin - -if [ -d ".git" ] -then - export BUILD=`git rev-parse --short HEAD || ""` - export BRANCH=`(git symbolic-ref --short HEAD | tr -d \/ ) || ""` - if [ "$BRANCH" = master ] - then - export BRANCH="" - fi - - export FLAGS="-X github.com/matrix-org/dendrite/internal.branch=$BRANCH -X github.com/matrix-org/dendrite/internal.build=$BUILD" -else - export FLAGS="" -fi +export FLAGS="" mkdir -p bin