Skip to content

Commit

Permalink
Merge pull request #3404 from rtfd/agj/update-invoke-command
Browse files Browse the repository at this point in the history
Update prerelease invoke command to call with explicit path
  • Loading branch information
ericholscher authored Dec 14, 2017
2 parents a700bbd + c849321 commit da8f7cc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,19 @@ def prepare(ctx, version):
'contrib',
'changelog.hbs',
)
bin_path = os.path.join(
os.path.dirname(__file__),
'node_modules',
'.bin',
)
cmd = (
'gh-changelog '
'{bin_path}/gh-changelog '
'-o rtfd -r readthedocs.org '
'--file {changelog_path} '
'--template {template_path} '
'--header "Version {version}"'
).format(
bin_path=bin_path,
version=version,
template_path=template_path,
changelog_path=changelog_path,
Expand Down

0 comments on commit da8f7cc

Please sign in to comment.