diff --git a/.drone.yml b/.drone.yml
index 59d33cf..b6842b7 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -23,7 +23,7 @@ pipeline:
     environment:
       GOPATH: /go
     commands:
-      - xgo -out gg-migrator --targets=windows/*,darwin/*
+      - xgo -out gg-migrator -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" --targets=windows/*,darwin/*
     when:
       event: [ tag ]
   gitea:
diff --git a/main.go b/main.go
index a07fcc1..aee1c44 100644
--- a/main.go
+++ b/main.go
@@ -5,12 +5,19 @@ import (
 
 	"github.com/urfave/cli"
 
+	"fmt"
 	"git.jonasfranz.software/JonasFranzDEV/gitea-github-migrator/cmd"
 )
 
+var (
+	version = "0.0.0"
+	build   = "0"
+)
+
 func main() {
 	app := cli.NewApp()
-	app.Name = "gg-migrator"
+	app.Name = "gitea-github-migrator"
+	app.Version = fmt.Sprintf("%s+%s", version, build)
 	app.Usage = "GitHub to Gitea migrator for repositories"
 	app.Description = `Migrate your GitHub repositories including issues to Gitea`
 	app.Commands = cli.Commands{