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():
109
109
'https://github.com/sio2project/sinol-make/#reporting-bugs-and-contributing-code' )
110
110
finally :
111
111
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'
113
114
if not util .is_dev (new_version ):
114
115
print (util .warning (
115
116
f'New version of sinol-make is available (your version: { __version__ } , available version: '
116
117
f'{ new_version } ).\n '
117
118
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 } `.' ))
119
120
elif util .is_dev (new_version ):
120
121
print (util .warning (
121
122
f'New development version of sinol-make is available (your version: { __version__ } , available '
122
123
f'version: { new_version } ).\n '
123
124
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`.'
125
126
))
You can’t perform that action at this time.
0 commit comments