From 9aac1e498f51ef8b6a519fe27d02e9844c07253d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 7 Apr 2024 08:21:02 +0200 Subject: update to 11.1.1 --- makesrc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'makesrc.sh') diff --git a/makesrc.sh b/makesrc.sh index 45fea74..f99ef28 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -8,7 +8,7 @@ VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec) COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) SHORT=${COMMIT:0:7} -DATE=$(date -d "$DATE -4 days" +%Y-%m-%d) +DATE=$(date -d "$DATE -5 days" +%Y-%m-%d) if [ -f $NAME-$VERSION-$SHORT.tgz ]; then echo "$NAME-$VERSION-$SHORT.tgz already there" @@ -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 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 -- cgit