Skip to content

Commit

Permalink
"datasette publish heroku" improvements
Browse files Browse the repository at this point in the history
* Fixed bug where --title= didn't work if -m not provided
* Now using Python 3.6.6 instead of Python 3.6.3
  • Loading branch information
simonw committed Jul 26, 2018
1 parent dbbe707 commit 1fb5186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datasette/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def temporary_heroku_directory(
if metadata_content:
open('metadata.json', 'w').write(json.dumps(metadata_content, indent=2))

open('runtime.txt', 'w').write('python-3.6.3')
open('runtime.txt', 'w').write('python-3.6.6')

if branch:
install = ['https://github.com/simonw/datasette/archive/{branch}.zip'.format(
Expand Down Expand Up @@ -434,7 +434,7 @@ def temporary_heroku_directory(
extras.extend(['--plugins-dir', 'plugins/'])
if version_note:
extras.extend(['--version-note', version_note])
if metadata:
if metadata_content:
extras.extend(['--metadata', 'metadata.json'])
if extra_options:
extras.extend(extra_options.split())
Expand Down

0 comments on commit 1fb5186

Please sign in to comment.