File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ Releasing
104104 > invoke test
105105 > invoke version 1.xx
106106 > invoke register
107- > invoke sdist upload
107+ > invoke sdist -- upload
108108 > git commit -am 'Version 1.xx'
109109 > git tag 1.xx
110110 > git push --tags
Original file line number Diff line number Diff line change @@ -186,11 +186,11 @@ def release_notes_plugin():
186186@task (pre = [clean ],
187187 help = {
188188 'release-notes' : 'If enabled, release notes plugin will be updated' })
189- def sdist (release_notes = True ):
189+ def sdist (release_notes = True , upload = False ):
190190 """Creates source distribution with bundled dependencies."""
191191 if release_notes :
192192 release_notes_plugin ()
193- _run_setup ('sdist' )
193+ _run_setup ('sdist{}' . format ( '' if not upload else ' upload' ) )
194194 _after_distribution ()
195195
196196
You can’t perform that action at this time.
0 commit comments