This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-site.git
The following commit(s) were added to refs/heads/master by this push:
new 2fbb361 [Website] Move merge_pr.py to scripts/ (#31)
2fbb361 is described below
commit 2fbb36192814734f3679f31aaf326212e4022a10
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Oct 9 23:03:30 2019 +0900
[Website] Move merge_pr.py to scripts/ (#31)
We don't publish files under scripts/. merge_pr.py is an internal
script. It should not be published.
---
_config.yml | 3 ---
merge_pr.py => scripts/merge_pr.py | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/_config.yml b/_config.yml
index 684edd8..15cdd4d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -30,12 +30,9 @@ include:
exclude:
- Gemfile
- Gemfile.lock
- - ruby
- - asf-site
- scripts
- README.md
- vendor
- - build-and-deploy.sh
- themes
collections:
diff --git a/merge_pr.py b/scripts/merge_pr.py
old mode 100644
new mode 100755
similarity index 99%
rename from merge_pr.py
rename to scripts/merge_pr.py
index ca4fb3c..34f7bc1
--- a/merge_pr.py
+++ b/scripts/merge_pr.py
@@ -53,7 +53,7 @@ except ImportError:
print("Exiting without trying to close the associated JIRA.")
sys.exit(1)
-ARROW_HOME = os.path.abspath(os.path.dirname(__file__))
+ARROW_HOME = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
PROJECT_NAME = os.environ.get('PROJECT_NAME') or 'arrow-site'
# Remote name which points to the GitHub site