github.com/serbaut/terraform@v0.6.12-0.20160607213102-ac2d195cc560/terraform/version.go (about)

     1  package terraform
     2  
     3  import (
     4  	"github.com/hashicorp/go-version"
     5  )
     6  
     7  // The main version number that is being run at the moment.
     8  const Version = "0.7.0"
     9  
    10  // A pre-release marker for the version. If this is "" (empty string)
    11  // then it means that it is a final release. Otherwise, this is a pre-release
    12  // such as "dev" (in development), "beta", "rc1", etc.
    13  const VersionPrerelease = "dev"
    14  
    15  // SemVersion is an instance of version.Version. This has the secondary
    16  // benefit of verifying during tests and init time that our version is a
    17  // proper semantic version, which should always be the case.
    18  var SemVersion = version.Must(version.NewVersion(Version))