Add simple versioning and release building

This commit is contained in:
2021-09-22 11:42:53 +09:30
parent 5e760ad284
commit a8028938a0
3 changed files with 44 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ var downloadPath = "./"
var address string
const currentVersion = "v0.01"
//go:embed web
var webFS embed.FS
@@ -64,7 +66,7 @@ func main() {
ReadTimeout: 5 * time.Second,
}
log.Print("starting web service")
log.Printf("starting gropple %s - https://github.com/tardisx/gropple", currentVersion)
log.Printf("go to %s for details on installing the bookmarklet and to check status", address)
log.Fatal(srv.ListenAndServe())