Skip to content

Commit

Permalink
bump version to v0.18.11
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricfung committed Jul 10, 2024
1 parent 4a3d4e4 commit 7424a51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion config/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

const (
Debug = true
BuildVersion = "v0.18.10-BUILD_VERSION"
BuildVersion = "v0.18.11-BUILD_VERSION"
KernelNetworkId = "74c6cdb7d51af57037faa1f5544f8331ced001df5964331911ca51385993b375"

Check warning on line 14 in config/reader.go

View workflow job for this annotation

GitHub Actions / lint

var-naming: const KernelNetworkId should be KernelNetworkID (revive)

SnapshotRoundGap = uint64(3 * time.Second)
Expand Down

0 comments on commit 7424a51

Please sign in to comment.