mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
- Removes use of "our" from CONTRIBUTING guide - Updates/adds README.md files - Commnents and typo fix in watchdog - Adds good/bad examples of commit messages Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
19 lines
358 B
Go
19 lines
358 B
Go
package main
|
|
|
|
var (
|
|
// Version release version of the watchdog
|
|
Version string
|
|
// GitCommit SHA of the last git commit
|
|
GitCommit string
|
|
// DevVersion string for the development version
|
|
DevVersion = "dev"
|
|
)
|
|
|
|
// BuildVersion returns current version of watchdog
|
|
func BuildVersion() string {
|
|
if len(Version) == 0 {
|
|
return DevVersion
|
|
}
|
|
return Version
|
|
}
|