Skip to content

v1.11: building latest tag in Go install returns version "dev" instead of "v1.11" #889

@bFanek

Description

@bFanek

I was running mev-boost v1.10.1

% ~/go/bin/mev-boost --version
mev-boost v1.10.1

Today v1.11 was released so i ran go install with latest tag:

% go install github.com/flashbots/mev-boost@latest
go: downloading github.com/flashbots/mev-boost v1.11.0
go: downloading github.com/spf13/viper v1.21.0
go: downloading github.com/fsnotify/fsnotify v1.9.0
go: downloading github.com/go-viper/mapstructure/v2 v2.4.0
go: downloading github.com/sagikazarmark/locafero v0.11.0
go: downloading github.com/spf13/afero v1.15.0
go: downloading github.com/spf13/cast v1.10.0
go: downloading github.com/spf13/pflag v1.0.10
go: downloading github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/pelletier/go-toml/v2 v2.2.4
go: downloading go.yaml.in/yaml/v3 v3.0.4
go: downloading golang.org/x/text v0.28.0
go: downloading golang.org/x/sync v0.16.0

Now it returns "dev" under -version:

% ~/go/bin/mev-boost --version                 
mev-boost dev

Expaction: should return v1.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions