aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@googlemail.com>2022-03-02 14:40:49 +0000
committerVinícius Zavam <egypcio@googlemail.com>2022-03-02 14:40:49 +0000
commiteb9c2a7177a4f5ca071e6b08b443447852329d63 (patch)
tree57cd607122b8fbcbec7bc61332dd7db3c48f027a
parentc6e0aafc1d35c545446742f01982a9579be7cfaa (diff)
downloadonionshare-eb9c2a7177a4f5ca071e6b08b443447852329d63.tar.gz
onionshare-eb9c2a7177a4f5ca071e6b08b443447852329d63.zip
Suggest the use of git shallow copy, while cloning
-rwxr-xr-xbuild-source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-source.sh b/build-source.sh
index 0946683d..f3d19f15 100755
--- a/build-source.sh
+++ b/build-source.sh
@@ -36,7 +36,7 @@ fi
mkdir -p build/source
mkdir -p dist
cd build/source
-git clone https://github.com/onionshare/onionshare.git
+git clone --single-branch --branch $TAG --depth 1 https://github.com/onionshare/onionshare.git
cd onionshare
# Verify tag