From 48152c3cb5c3268c8631f46ed4f1978e8663701e Mon Sep 17 00:00:00 2001 From: Michael Dowling Date: Thu, 23 Oct 2014 13:24:20 -0700 Subject: [PATCH] chdir properly to parent directory --- build/gh-release.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/gh-release.php b/build/gh-release.php index 79e425b967..f2ac31c282 100644 --- a/build/gh-release.php +++ b/build/gh-release.php @@ -24,7 +24,7 @@ assert(file_exists(__DIR__ . '/artifacts/aws.phar')); // Grab and validate the tag annotation -chdir(".."); +chdir(dirname(__DIR__)); $message = `chag contents -t "$tag"` or die('Chag could not find or parse the tag'); // Create a GitHub client.