Commit 4ff62b2b authored by Kenneth Reitz's avatar Kenneth Reitz

sticky python versions bugfix

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