From 8215479a68d8867bbcb17e7bb1f190160262fa3a Mon Sep 17 00:00:00 2001 From: tiancaiamao Date: Thu, 21 Dec 2023 13:53:18 +0800 Subject: [PATCH] br,tidb,lightning: remove 'fips' suffix on version --- br/cmd/br/fips.go | 10 +--------- br/cmd/tidb-lightning-ctl/fips.go | 10 +--------- br/cmd/tidb-lightning/fips.go | 10 +--------- cmd/tidb-server/fips.go | 6 ------ 4 files changed, 3 insertions(+), 33 deletions(-) diff --git a/br/cmd/br/fips.go b/br/cmd/br/fips.go index 6d5e181a04022..228261f45998f 100644 --- a/br/cmd/br/fips.go +++ b/br/cmd/br/fips.go @@ -17,12 +17,4 @@ package main -import ( - _ "crypto/tls/fipsonly" - - "github.com/pingcap/tidb/br/pkg/version/build" -) - -func init() { - build.ReleaseVersion += "-fips" -} +import _ "crypto/tls/fipsonly" diff --git a/br/cmd/tidb-lightning-ctl/fips.go b/br/cmd/tidb-lightning-ctl/fips.go index 6d5e181a04022..228261f45998f 100644 --- a/br/cmd/tidb-lightning-ctl/fips.go +++ b/br/cmd/tidb-lightning-ctl/fips.go @@ -17,12 +17,4 @@ package main -import ( - _ "crypto/tls/fipsonly" - - "github.com/pingcap/tidb/br/pkg/version/build" -) - -func init() { - build.ReleaseVersion += "-fips" -} +import _ "crypto/tls/fipsonly" diff --git a/br/cmd/tidb-lightning/fips.go b/br/cmd/tidb-lightning/fips.go index 6d5e181a04022..228261f45998f 100644 --- a/br/cmd/tidb-lightning/fips.go +++ b/br/cmd/tidb-lightning/fips.go @@ -17,12 +17,4 @@ package main -import ( - _ "crypto/tls/fipsonly" - - "github.com/pingcap/tidb/br/pkg/version/build" -) - -func init() { - build.ReleaseVersion += "-fips" -} +import _ "crypto/tls/fipsonly" diff --git a/cmd/tidb-server/fips.go b/cmd/tidb-server/fips.go index 5b18f7bee023e..228261f45998f 100644 --- a/cmd/tidb-server/fips.go +++ b/cmd/tidb-server/fips.go @@ -18,9 +18,3 @@ package main import _ "crypto/tls/fipsonly" - -import "github.com/pingcap/tidb/pkg/parser/mysql" - -func init() { - mysql.TiDBReleaseVersion += "-fips" -}