2021-01-28 12:46:09 -08:00
|
|
|
package version
|
|
|
|
|
|
|
|
// Wormhole release version injected by the compiler.
|
|
|
|
var version = "development"
|
|
|
|
|
|
|
|
func Version() string {
|
2021-07-31 08:15:51 -07:00
|
|
|
if version == "" {
|
|
|
|
panic("binary compiled with empty version")
|
|
|
|
}
|
2021-01-28 12:46:09 -08:00
|
|
|
return version
|
|
|
|
}
|