File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -109,17 +109,18 @@ def main():
109109 'https://github.com/sio2project/sinol-make/#reporting-bugs-and-contributing-code' )
110110 finally :
111111 if new_version is not None :
112- install_method = 'pipx' if util .is_probably_installed_by_pipx () else 'pip'
112+ install_method = 'pipx upgrade sinol-make' if util .is_probably_installed_by_pipx () \
113+ else 'pip install sinol-make --upgrade'
113114 if not util .is_dev (new_version ):
114115 print (util .warning (
115116 f'New version of sinol-make is available (your version: { __version__ } , available version: '
116117 f'{ new_version } ).\n '
117118 f'Changelog can be found at https://github.com/sio2project/sinol-make/releases.\n '
118- f'You can update sinol-make by running `{ install_method } install sinol-make --upgrade `.' ))
119+ f'You can update sinol-make by running `{ install_method } `.' ))
119120 elif util .is_dev (new_version ):
120121 print (util .warning (
121122 f'New development version of sinol-make is available (your version: { __version__ } , available '
122123 f'version: { new_version } ).\n '
123124 f'Changelog can be found at https://github.com/sio2project/sinol-make/releases.\n '
124- f'You can update sinol-make by running `{ install_method } install sinol-make -- pre --upgrade `.'
125+ f'You can update sinol-make by running `{ install_method } -- pre`.'
125126 ))
You can’t perform that action at this time.
0 commit comments