Skip to content

Commit

Permalink
Change message when there's a new version (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane authored Aug 7, 2024
1 parent b860aba commit 9c3b5a7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/sinol_make/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.'
))

0 comments on commit 9c3b5a7

Please sign in to comment.