Deleted make-merge.sh (outdate unused script) (#1450)

Closes #1065
This commit is contained in:
Jules Lasne (jlasne) 2020-10-16 08:34:25 +02:00 committed by GitHub
parent 2a7d7df751
commit 2c727007ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 21 deletions

View File

@ -1,21 +0,0 @@
#!/usr/bin/env bash
rm -rf /tmp/cpython
git clone --depth 1 --branch 3.7 --single-branch https://github.com/python/cpython /tmp/cpython
CPYTHON_LATEST_SHA=$(git -C /tmp/cpython rev-parse --short HEAD)
git checkout -b make-merge-$CPYTHON_LATEST_SHA
sed -i "s/COMMIT=[a-z0-9]*/COMMIT=$CPYTHON_LATEST_SHA/" .travis.yml
make merge
pip install -U pyhub-pr
git add -A
git commit -m "merge pot files."
git push --set-upstream origin make-merge-$CPYTHON_LATEST_SHA
pyhub_pr --organisation python --repo python-docs-fr --token $GITHUB_TOKEN --title "Merge from upstream doc" --body "This PR was created from the command line with pyhub-pr." --head $TOKEN_OWNER_USERNAME:make-merge-$(git rev-parse --short HEAD)