diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 15:26:07 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 15:26:07 -0500 |
| commit | a418b48c21e413b7cf96bcf6935366bd986ce4aa (patch) | |
| tree | 2c074e61378bb93c72f1398defb247f814a01a48 | |
| parent | 37ff8aab80956a2fd8e2aea00936a13383e40b0e (diff) | |
| -rw-r--r-- | tableSmart.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tableSmart.go b/tableSmart.go index 8b1f861..d547763 100644 --- a/tableSmart.go +++ b/tableSmart.go @@ -50,10 +50,12 @@ func (p *Package) GetSmartVersion() string { version = parts[0] } } - if strings.HasSuffix(version, "-0") { - version = version[0 : len(version)-2] - } - return version + /* + if strings.HasSuffix(version, "-0") { + version = version[0 : len(version)-2] + } + */ + return "v" + version } func (t *PackagesTable) AddSmartVersion() *PackageFunc { |
