Use plain repo tags for build version

This commit is contained in:
Mikhail Chusavitin
2026-04-03 10:48:51 +03:00
parent 11f52ac710
commit 8692f825bc
3 changed files with 2 additions and 19 deletions

View File

@@ -46,8 +46,6 @@ func TestRunUnknownCommand(t *testing.T) {
}
func TestRunVersion(t *testing.T) {
t.Parallel()
old := Version
Version = "test-version"
t.Cleanup(func() { Version = old })
@@ -63,8 +61,6 @@ func TestRunVersion(t *testing.T) {
}
func TestBuildLabelUsesVersionAsIs(t *testing.T) {
t.Parallel()
old := Version
Version = "1.2.3"
t.Cleanup(func() { Version = old })