-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
- Loading branch information
Showing
3 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
// Package version provides shared version information. | ||
package version | ||
|
||
import ( | ||
"fmt" | ||
) | ||
|
||
// Version is the current version of MicroCloud. | ||
const Version = "1.1" | ||
const Version = "2.1" | ||
|
||
// LTS should be set if the current version is an LTS (long-term support) version. | ||
const LTS = true | ||
|
||
// VersionWithLTS appends "LTS" to the version string if MicroCloud is an LTS version. | ||
func VersionWithLTS() string { | ||
if LTS { | ||
return fmt.Sprintf("%s LTS", Version) | ||
} | ||
|
||
return Version | ||
} |