Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 6645878

Browse files
committed
Added versioning
1 parent 0af53e4 commit 6645878

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,11 @@ Longest transaction: 0.21
132132
Shortest transaction: 0.00
133133
```
134134

135+
### Versioning
136+
`x.y.z`
137+
- `x` A major change, the plugin needs to update
138+
- `y` A minor change, an important server-only change was made
139+
- `z` A patch, an insignificant change
140+
135141
### Further Dev Information
136142
See [Endpoints.md](./docs/Endpoints.md)

cmd/mcauth/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ import (
55
"github.com/dhghf/mcauth/internal/common"
66
"github.com/dhghf/mcauth/internal/common/db"
77
"github.com/dhghf/mcauth/internal/webserver"
8+
"log"
89
)
910

11+
const version = "2.0.0"
12+
1013
func main() {
14+
log.Printf("Starting MCAuth [%s]\n", version)
1115
config := common.GetConfig("./config.yml")
1216
store := db.GetStore(config.DB)
1317

0 commit comments

Comments
 (0)