From 7424a517552ada9c86b4b8eeed60c93b8e9a50cf Mon Sep 17 00:00:00 2001 From: Cedric Fung Date: Wed, 10 Jul 2024 09:21:45 +0000 Subject: [PATCH] bump version to v0.18.11 --- Makefile | 4 ++++ build.sh | 4 +--- config/reader.go | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..3bff847cf --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +all: + git checkout config/reader.go + sed -i -- "s/BUILD_VERSION/`git rev-parse HEAD`/g" config/reader.go || exit + CGO_ENABLED=0 go build -o mixin diff --git a/build.sh b/build.sh index 06c4af26a..5b139ec32 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,3 @@ #!/bin/sh -git checkout config/reader.go -sed -i -- "s/BUILD_VERSION/`git rev-parse HEAD`/g" config/reader.go || exit -CGO_ENABLED=0 go build +make diff --git a/config/reader.go b/config/reader.go index f42cc64b8..5a4983bdf 100644 --- a/config/reader.go +++ b/config/reader.go @@ -10,7 +10,7 @@ import ( const ( Debug = true - BuildVersion = "v0.18.10-BUILD_VERSION" + BuildVersion = "v0.18.11-BUILD_VERSION" KernelNetworkId = "74c6cdb7d51af57037faa1f5544f8331ced001df5964331911ca51385993b375" SnapshotRoundGap = uint64(3 * time.Second)