Skip to content

Commit

Permalink
Updated changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <dan@danryan.co>
  • Loading branch information
techalchemy committed Jun 19, 2018
1 parent 9195d3a commit 2a9bb81
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
2018.05.18 (2018-06-17)
=======================
2018.6.0.dev0 (2018-06-18)
==========================


Features & Improvements
Expand Down Expand Up @@ -78,6 +78,10 @@ Bug Fixes

- VCS dependencies are now manually obtained only if they do not match the requested ref. `#2304 <https://github.com/pypa/pipenv/issues/2304>`_

- Added error handling functionality to properly cope with single-digit ``Requires-Python`` metatdata with no specifiers. `#2377 <https://github.com/pypa/pipenv/issues/2377>`_

- ``pipenv update`` will now always run the resolver and lock before ensuring your dependencies are in sync with your lockfile. `#2379 <https://github.com/pypa/pipenv/issues/2379>`_


Vendored Libraries
------------------
Expand Down
8 changes: 6 additions & 2 deletions tasks/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@ def upload_dists(ctx):


@invoke.task
def generate_changelog(ctx, commit=False):
def generate_changelog(ctx, commit=False, draft=False):
log('Generating changelog...')
ctx.run('towncrier')
if draft:
commit = False
log('Writing draft to file...')
ctx.run('towncrier --draft > CHANGELOG.rst')
if commit:
ctx.run('towncrier')
log('Committing...')
ctx.run('git add .')
ctx.run('git commit -m "Update changelog."')
Expand Down

0 comments on commit 2a9bb81

Please sign in to comment.