mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #27246 from overleaf/jpa-hotfix-5-5-3
[server-pro] add hotfix 5.5.3 GitOrigin-RevId: 6bd266afb8f5ba622224b6095204ee6801c05a44
This commit is contained in:
7
server-ce/bin/import_pr_patch.sh
Executable file
7
server-ce/bin/import_pr_patch.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
for PR in "$@"; do
|
||||
gh pr diff "$PR" --patch \
|
||||
| node -e 'const blob = require("fs").readFileSync("/dev/stdin", "utf-8"); console.log(blob.replace(/From [\s\S]+?\d+ files? changed,.+/g, ""))' \
|
||||
> "pr_$PR.patch"
|
||||
done
|
||||
Reference in New Issue
Block a user