Configurable version suffix independent of version number

This commit is contained in:
albertony
2022-05-17 12:10:01 +01:00
committed by Nick Craig-Wood
parent 4f0ddb60e7
commit ce168ecac2
4 changed files with 24 additions and 6 deletions
+12 -2
View File
@@ -1,4 +1,14 @@
package fs
// Version of rclone
var Version = "v1.59.0-DEV"
// Version of rclone containing the complete version string
var Version string
func init() {
if Version == "" {
if VersionSuffix == "" {
Version = VersionTag
} else {
Version = VersionTag + "-" + VersionSuffix
}
}
}