Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #102 from elastic/all_your_dir_belong_to_us
Browse files Browse the repository at this point in the history
Always run from the relative parent directory
  • Loading branch information
Crazybus committed Apr 17, 2019
2 parents c5289d5 + 736e065 commit 11c2317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helpers/bumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import subprocess
import fileinput

os.chdir('../')
os.chdir(os.path.join(os.path.dirname(__file__), '..'))

versions = {
5: '5.6.16',
Expand Down
2 changes: 1 addition & 1 deletion helpers/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down

0 comments on commit 11c2317

Please sign in to comment.