Skip to content

Commit 8a9e828

Browse files
committed
reference using tag
1 parent 8d00dc3 commit 8a9e828

File tree

1 file changed

+2
-2
lines changed
  • .github/scripts/download-bundled

1 file changed

+2
-2
lines changed

.github/scripts/download-bundled/pcre2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
set -ex
33
cd "$(dirname "$0")/../../.."
44

5-
commit=b2bd4254b379b9d7dc9a3dda060a7e27009ccdff # 10.46 release
5+
revision=refs/tags/pcre2-10.46
66

7-
git clone --recurse-submodules --revision=$commit https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
7+
git clone --depth 1 --recurse-submodules --revision=$revision https://github.com/PCRE2Project/pcre2.git /tmp/php-src-bundled/pcre2
88

99
rm -rf ext/pcre/pcre2lib
1010
cp -R /tmp/php-src-bundled/pcre2/src ext/pcre/pcre2lib

0 commit comments

Comments
 (0)