summaryrefslogtreecommitdiffstats
path: root/makesrc.sh
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-09-22 08:05:02 +0200
committerRemi Collet <remi@php.net>2025-09-22 08:05:02 +0200
commitbbce097f25b462112b849650997fc5a14e1be3c9 (patch)
treede4dd6dbbcd1978919857a55e93002cc39162215 /makesrc.sh
parentf5ff83ecb4df3964be028a4dc8ef7e68058cb4cd (diff)
update to 6.3.1
Diffstat (limited to 'makesrc.sh')
-rwxr-xr-xmakesrc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makesrc.sh b/makesrc.sh
index b959795..11bd167 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -17,11 +17,11 @@ else
echo "Cloning..."
rm -rf $PROJECT-$COMMIT
- git clone --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
+ git clone --branch ${VERSION:0:3} --shallow-since=$DATE https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT || exit 1
echo "Getting commit..."
pushd $PROJECT-$COMMIT
- git checkout $COMMIT || exit1
+ git checkout $COMMIT || exit 1
cp composer.json ../composer.json
popd