diff --git a/cmd/ldap/main.go b/cmd/ldap/main.go index 2580b5c157..8b56d229a7 100644 --- a/cmd/ldap/main.go +++ b/cmd/ldap/main.go @@ -10,6 +10,7 @@ import ( "goauthentik.io/internal/common" "goauthentik.io/internal/config" + "goauthentik.io/internal/constants" "goauthentik.io/internal/debug" "goauthentik.io/internal/outpost/ak" "goauthentik.io/internal/outpost/ak/healthcheck" @@ -24,7 +25,8 @@ Required environment variables: - AUTHENTIK_INSECURE: Skip SSL Certificate verification` var rootCmd = &cobra.Command{ - Long: helpMessage, + Long: helpMessage, + Version: constants.FullVersion(), PersistentPreRun: func(cmd *cobra.Command, args []string) { log.SetLevel(log.DebugLevel) log.SetFormatter(&log.JSONFormatter{ diff --git a/cmd/proxy/main.go b/cmd/proxy/main.go index e58a161fb6..4bb93f1e68 100644 --- a/cmd/proxy/main.go +++ b/cmd/proxy/main.go @@ -10,6 +10,7 @@ import ( "goauthentik.io/internal/common" "goauthentik.io/internal/config" + "goauthentik.io/internal/constants" "goauthentik.io/internal/debug" "goauthentik.io/internal/outpost/ak" "goauthentik.io/internal/outpost/ak/healthcheck" @@ -27,7 +28,8 @@ Optionally, you can set these: - AUTHENTIK_HOST_BROWSER: URL to use in the browser, when it differs from AUTHENTIK_HOST` var rootCmd = &cobra.Command{ - Long: helpMessage, + Long: helpMessage, + Version: constants.FullVersion(), PersistentPreRun: func(cmd *cobra.Command, args []string) { log.SetLevel(log.DebugLevel) log.SetFormatter(&log.JSONFormatter{ diff --git a/cmd/rac/main.go b/cmd/rac/main.go index 947ad14dd8..2aecf80bf5 100644 --- a/cmd/rac/main.go +++ b/cmd/rac/main.go @@ -9,6 +9,7 @@ import ( "github.com/spf13/cobra" "goauthentik.io/internal/common" + "goauthentik.io/internal/constants" "goauthentik.io/internal/debug" "goauthentik.io/internal/outpost/ak" "goauthentik.io/internal/outpost/ak/healthcheck" @@ -23,7 +24,8 @@ Required environment variables: - AUTHENTIK_INSECURE: Skip SSL Certificate verification` var rootCmd = &cobra.Command{ - Long: helpMessage, + Long: helpMessage, + Version: constants.FullVersion(), PersistentPreRun: func(cmd *cobra.Command, args []string) { log.SetLevel(log.DebugLevel) log.SetFormatter(&log.JSONFormatter{ diff --git a/cmd/radius/main.go b/cmd/radius/main.go index 0d6b7abebe..4e728b8854 100644 --- a/cmd/radius/main.go +++ b/cmd/radius/main.go @@ -9,6 +9,7 @@ import ( "github.com/spf13/cobra" "goauthentik.io/internal/common" + "goauthentik.io/internal/constants" "goauthentik.io/internal/debug" "goauthentik.io/internal/outpost/ak" "goauthentik.io/internal/outpost/ak/healthcheck" @@ -23,7 +24,8 @@ Required environment variables: - AUTHENTIK_INSECURE: Skip SSL Certificate verification` var rootCmd = &cobra.Command{ - Long: helpMessage, + Long: helpMessage, + Version: constants.FullVersion(), PersistentPreRun: func(cmd *cobra.Command, args []string) { log.SetLevel(log.DebugLevel) log.SetFormatter(&log.JSONFormatter{