From 9c3b5a7d11a1322d4d8944710ba08e95426c5a33 Mon Sep 17 00:00:00 2001 From: Mateusz Masiarz Date: Wed, 7 Aug 2024 10:35:31 +0200 Subject: [PATCH] Change message when there's a new version (#252) --- src/sinol_make/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/sinol_make/__init__.py b/src/sinol_make/__init__.py index d5695071..3c1992b1 100644 --- a/src/sinol_make/__init__.py +++ b/src/sinol_make/__init__.py @@ -110,9 +110,13 @@ def main(): if not util.is_dev(new_version): print(util.warning( f'New version of sinol-make is available (your version: {__version__}, available version: ' - f'{new_version}).\nYou can update it by running `pip3 install sinol-make --upgrade`.')) + f'{new_version}).\n' + f'Changelog can be found at https://github.com/sio2project/sinol-make/releases.\n' + f'You can update sinol-make by running `pip install sinol-make --upgrade`.')) elif util.is_dev(new_version): print(util.warning( f'New development version of sinol-make is available (your version: {__version__}, available ' - f'version: {new_version}).\nYou can update it by running `pip3 install sinol-make --pre --upgrade`.' + f'version: {new_version}).\n' + f'Changelog can be found at https://github.com/sio2project/sinol-make/releases.\n' + f'You can update sinol-make by running `pip install sinol-make --pre --upgrade`.' ))