summaryrefslogtreecommitdiffstats
path: root/internal/utils
diff options
context:
space:
mode:
authors <[email protected]>2025-11-26 05:11:14 -0500
committers <[email protected]>2025-11-26 05:11:14 -0500
commitcbc521467a3cca7a17e6f691a9c7fa34f4da3e24 (patch)
treeeeb2c880d4f360a2e92c960ad371425dfd633c19 /internal/utils
parent8a342848809a26e7e13933180b4df91d4a52f898 (diff)
downloaddborg-cbc521467a3cca7a17e6f691a9c7fa34f4da3e24.tar.gz
dborg-cbc521467a3cca7a17e6f691a9c7fa34f4da3e24.zip
refactor: remove changelog display and simplify update output
Diffstat (limited to 'internal/utils')
-rw-r--r--internal/utils/version.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/utils/version.go b/internal/utils/version.go
index b6ae282..46ebb73 100644
--- a/internal/utils/version.go
+++ b/internal/utils/version.go
@@ -13,7 +13,7 @@ import (
var (
Version = "dev"
- RepositoryURL = "https://git.db.org.ai/dborg.git"
+ RepositoryURL = "https://git.db.org.ai/dborg"
)
func init() {
@@ -95,7 +95,7 @@ func isNewerVersion(remote, local string) bool {
}
func promptAndUpdate(newVersion string) {
- fmt.Fprintf(os.Stderr, "\nšŸ”” A new version of dborg is available: %s (current: %s)\n", newVersion, Version)
+ fmt.Fprintf(os.Stderr, "\nNew version available: %s (current: %s)\n", newVersion, Version)
fmt.Fprintf(os.Stderr, "Would you like to update now? [Y/n]: ")
var response string
@@ -120,7 +120,7 @@ func promptAndUpdate(newVersion string) {
return
}
- fmt.Fprintf(os.Stderr, "āœ“ Update successful! Restarting...\n\n")
+ fmt.Fprintf(os.Stderr, "Updated. Restarting...\n\n")
restartSelf()
}