refactor: dedicated constants package, no explicit bridge version

This commit is contained in:
James Houlahan
2020-04-23 10:07:41 +02:00
committed by Jakub Cuth
parent 522cadb8b1
commit 0589f329e9
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ func init() { //nolint[gochecknoinits]
godog.BindFlags("godog.", flag.CommandLine, &opt)
// This would normally be done using ldflags but `godog` command doesn't support that.
constants.Version = os.Getenv("VERSION")
constants.Version = os.Getenv("BRIDGE_VERSION")
}
func TestMain(m *testing.M) {