We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d00dc3 commit 8a9e828Copy full SHA for 8a9e828
.github/scripts/download-bundled/pcre2.sh
@@ -2,9 +2,9 @@
2
set -ex
3
cd "$(dirname "$0")/../../.."
4
5
-commit=b2bd4254b379b9d7dc9a3dda060a7e27009ccdff # 10.46 release
+revision=refs/tags/pcre2-10.46
6
7
-git clone --recurse-submodules --revision=$commit https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
+git clone --depth 1 --recurse-submodules --revision=$revision https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
8
9
rm -rf ext/pcre/pcre2lib
10
cp -R /tmp/php-src-bundled/pcre2/src ext/pcre/pcre2lib
0 commit comments