From db6074f785d66f13f2345a2b1213fa44e3a628d8 Mon Sep 17 00:00:00 2001 From: Dmitrii Pichulin Date: Wed, 3 Apr 2024 23:39:50 +0300 Subject: [PATCH] speed up fetch as in #85 --- build_linux/chromium-gost-prepare.sh | 2 +- build_mac/chromium-gost-prepare.sh | 2 +- build_windows/chromium-gost-prepare.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build_linux/chromium-gost-prepare.sh b/build_linux/chromium-gost-prepare.sh index 06e4f88..e85c384 100755 --- a/build_linux/chromium-gost-prepare.sh +++ b/build_linux/chromium-gost-prepare.sh @@ -14,7 +14,7 @@ git reset HEAD~ --hard cd $CHROMIUM_PATH git reset HEAD~ --hard -git fetch --tags +git fetch origin tag $CHROMIUM_TAG --no-tags git checkout -b temp tags/$CHROMIUM_TAG git show-ref --quiet refs/heads/$GOST_BRANCH && git branch -D $GOST_BRANCH git checkout -b $GOST_BRANCH tags/$CHROMIUM_TAG diff --git a/build_mac/chromium-gost-prepare.sh b/build_mac/chromium-gost-prepare.sh index e29df83..75cd22b 100755 --- a/build_mac/chromium-gost-prepare.sh +++ b/build_mac/chromium-gost-prepare.sh @@ -14,7 +14,7 @@ git reset HEAD~ --hard cd $CHROMIUM_PATH git reset HEAD~ --hard -git fetch --tags +git fetch origin tag $CHROMIUM_TAG --no-tags git checkout -b temp tags/$CHROMIUM_TAG git show-ref --quiet refs/heads/$GOST_BRANCH && git branch -D $GOST_BRANCH git checkout -b $GOST_BRANCH tags/$CHROMIUM_TAG diff --git a/build_windows/chromium-gost-prepare.bat b/build_windows/chromium-gost-prepare.bat index 21db6e6..de408a2 100644 --- a/build_windows/chromium-gost-prepare.bat +++ b/build_windows/chromium-gost-prepare.bat @@ -13,7 +13,7 @@ call git reset HEAD~ --hard cd %CHROMIUM_PATH% call git reset HEAD~ --hard -call git fetch --tags +call git fetch origin tag %CHROMIUM_TAG% --no-tags call git checkout -b temp tags/%CHROMIUM_TAG% call git show-ref --quiet refs/heads/%GOST_BRANCH% && call git branch -D %GOST_BRANCH% call git checkout -b %GOST_BRANCH% tags/%CHROMIUM_TAG%