forked from sakshiag/terraform-provider-ibm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.go
21 lines (16 loc) · 751 Bytes
/
version.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package main
import (
"github.com/hashicorp/go-version"
)
// Version is the current provider main version
const Version = "0.4.0"
// GitCommit is the git commit that was compiled. This will be filled in by the compiler.
var GitCommit string
//VersionPrerelease is the marker for version. If this is "" (empty string)
// then it means that it is a final release. Otherwise, this is a pre-release
// such as "dev" (in development), "beta", "rc1", etc.
var VersionPrerelease = "dev"
// SemVersion is an instance of version.Version. This has the secondary
// benefit of verifying during tests and init time that our version is a
// proper semantic version, which should always be the case.
var SemVersion = version.Must(version.NewVersion(Version))