diff options
| author | s <[email protected]> | 2025-11-26 05:11:14 -0500 |
|---|---|---|
| committer | s <[email protected]> | 2025-11-26 05:11:14 -0500 |
| commit | cbc521467a3cca7a17e6f691a9c7fa34f4da3e24 (patch) | |
| tree | eeb2c880d4f360a2e92c960ad371425dfd633c19 /internal | |
| parent | 8a342848809a26e7e13933180b4df91d4a52f898 (diff) | |
| download | dborg-cbc521467a3cca7a17e6f691a9c7fa34f4da3e24.tar.gz dborg-cbc521467a3cca7a17e6f691a9c7fa34f4da3e24.zip | |
refactor: remove changelog display and simplify update output
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/utils/version.go | 6 |
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() } |
