|
|
|
@ -42,7 +42,7 @@ cd rqlite
|
|
|
|
|
go get -d ./...
|
|
|
|
|
|
|
|
|
|
LINKER_PKG_PATH=github.com/rqlite/rqlite/cmd
|
|
|
|
|
go install -ldflags="-X $LINKER_PKG_PATH.Version=$VERSION -X $LINKER_PKG_PATH.Branch=$branch -X $LINKER_PKG_PATH.Commit=$commit -X $LINKER_PKG_PATH.Buildtime=$buildtime" ./...
|
|
|
|
|
go install -ldflags="-extldflags=-static -X $LINKER_PKG_PATH.Version=$VERSION -X $LINKER_PKG_PATH.Branch=$branch -X $LINKER_PKG_PATH.Commit=$commit -X $LINKER_PKG_PATH.Buildtime=$buildtime" ./...
|
|
|
|
|
|
|
|
|
|
release=`echo rqlite-$VERSION-$kernel-$machine | tr '[:upper:]' '[:lower:]'`
|
|
|
|
|
release_pkg=${release}.tar.gz
|
|
|
|
|