diff --git a/helpers/bumper.py b/helpers/bumper.py index 1d0e78142..229dc0f49 100755 --- a/helpers/bumper.py +++ b/helpers/bumper.py @@ -5,7 +5,7 @@ import subprocess import fileinput -os.chdir('../') +os.chdir(os.path.join(os.path.dirname(__file__), '..')) versions = { 5: '5.6.16', diff --git a/helpers/release.py b/helpers/release.py index 713c3c9ca..264b23ddc 100644 --- a/helpers/release.py +++ b/helpers/release.py @@ -5,7 +5,7 @@ import subprocess import yaml -os.chdir('..') +os.chdir(os.path.join(os.path.dirname(__file__), '..')) bucket = 'gs://' + os.environ['GCS_BUCKET']