Release v0.5.0-beta1

This commit is contained in:
Wim 2016-07-12 21:32:15 +02:00
parent b49429d722
commit 055d12e3ef
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ Breaking changes for matterbridge can be found in [migration](https://github.com
* A dedicated user(bot) on your mattermost instance. * A dedicated user(bot) on your mattermost instance.
## binaries ## binaries
Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.5) Binaries can be found [here] (https://github.com/42wim/matterbridge/releases/tag/v0.5-beta1)
## building ## building
Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH) Go 1.6+ is required. Make sure you have [Go](https://golang.org/doc/install) properly installed, including setting up your [GOPATH] (https://golang.org/doc/code.html#GOPATH)

View File

@ -7,7 +7,7 @@ import (
log "github.com/Sirupsen/logrus" log "github.com/Sirupsen/logrus"
) )
var Version = "0.5-dev" var version = "0.5.0-beta1"
func init() { func init() {
log.SetFormatter(&log.TextFormatter{FullTimestamp: true}) log.SetFormatter(&log.TextFormatter{FullTimestamp: true})
@ -20,7 +20,7 @@ func main() {
flagPlus := flag.Bool("plus", false, "running using API instead of webhooks") flagPlus := flag.Bool("plus", false, "running using API instead of webhooks")
flag.Parse() flag.Parse()
if *flagVersion { if *flagVersion {
fmt.Println("Version:", Version) fmt.Println("version:", version)
return return
} }
flag.Parse() flag.Parse()
@ -28,7 +28,7 @@ func main() {
log.Info("enabling debug") log.Info("enabling debug")
log.SetLevel(log.DebugLevel) log.SetLevel(log.DebugLevel)
} }
fmt.Println("running version", Version) fmt.Println("running version", version)
if *flagPlus { if *flagPlus {
bridge.NewBridge("matterbot", bridge.NewConfig(*flagConfig), "") bridge.NewBridge("matterbot", bridge.NewConfig(*flagConfig), "")
} else { } else {