Skip to content

Commit 9ec8495

Browse files
committed
Add update instruction to version check
1 parent 88d2638 commit 9ec8495

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ def cli(ctx, verbose) -> None:
3030
latest_version = Version.parse_version_string(tags[0]["name"])
3131
if current_version.is_behind(latest_version):
3232
warn(
33-
f"Your version of Git-Mastery app {click.style(current_version, bold=True)} is behind the latest version {click.style(latest_version, bold=True, italic=True)}. Please update the CLI."
33+
f"Your version of Git-Mastery app {click.style(current_version, bold=True)} is behind the latest version {click.style(latest_version, bold=True, italic=True)}."
34+
)
35+
warn(
36+
f"Follow the update guide here: {click.style('https://git-mastery.github.io/app/update', bold=True)}"
3437
)
3538

3639

0 commit comments

Comments
 (0)