Skip to content
Snippets Groups Projects
Commit 4ff62b2b authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

sticky python versions bugfix

parent d47970fd
No related branches found
No related tags found
No related merge requests found
......@@ -103,11 +103,10 @@ if [ ! -f requirements.txt ]; then
fi
# Sticky runtimes.
if [ -f .heroku/python-version ]; then
DEFAULT_PYTHON_VERSION=$(cat .heroku/python-version)
if [ -f $CACHE_DIR/.heroku/python-version ]; then
DEFAULT_PYTHON_VERSION=$(cat $CACHE_DIR/.heroku/python-version)
fi
# If no runtime given, assume default version.
if [ ! -f runtime.txt ]; then
puts-step "No runtime.txt provided; assuming $DEFAULT_PYTHON_VERSION."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment