mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
"datasette publish heroku" improvements
* Fixed bug where --title= didn't work if -m not provided * Now using Python 3.6.6 instead of Python 3.6.3
This commit is contained in:
parent
dbbe707841
commit
1fb518618c
1 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue