Files
php-doc-ru/scripts/apply_patch.sh
2021-01-04 22:49:01 +03:00

8 lines
175 B
Bash

#!/bin/sh
set -e
curl -L "https://github.com/php/doc-ru/pull/$1.patch" | git am
git commit --amend -m "$(git log --format=%B -n 1)" -m "Closes GH-$1"
git push origin master